mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-08 11:50:55 -04:00
17 lines
1002 B
XML
17 lines
1002 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
<pkgmetadata>
|
|
<maintainer type="person">
|
|
<email>lssndrbarbieri@gmail.com</email>
|
|
<name>Alessandro Barbieri</name>
|
|
</maintainer>
|
|
<longdescription lang="en">
|
|
Because the Apache Python avro package is written in pure Python, it is relatively slow. In one test case, it takes about 14 seconds to iterate through a file of 10,000 records. By comparison, the JAVA avro SDK reads the same file in 1.9 seconds.
|
|
The fastavro library was written to offer performance comparable to the Java library. With regular CPython, fastavro uses C extensions which allow it to iterate the same 10,000 record file in 1.7 seconds. With PyPy, this drops to 1.5 seconds (to be fair, the JAVA benchmark is doing some extra JSON encoding/decoding).
|
|
</longdescription>
|
|
<upstream>
|
|
<remote-id type="github">fastavro/fastavro</remote-id>
|
|
<remote-id type="pypi">fastavro</remote-id>
|
|
</upstream>
|
|
</pkgmetadata>
|