henadzit
psycopg
BlogDocsChangelog

UUID Load and Dumper - benchmarks 2

#2Closed
Comparing
cython-uuid-benchmarks-2
(
a667ceb
) with
master
(
9e38072
)
CodSpeed Performance Gauge
×3.3
Improvements
2
Untouched
2

Benchmarks

Improved

test_uuid_loader_100
tests/benchmarks/test_loader.py
CodSpeed Performance Gauge
×3.3
704.9 µs215.7 µs
test_uuid_binary_loader_100
tests/benchmarks/test_loader.py
CodSpeed Performance Gauge
×3
614.1 µs208 µs

Passed

test_uuid_binary_dumper_100
tests/benchmarks/test_dumper.py
CodSpeed Performance Gauge
0%
130.8 µs130.8 µs
test_uuid_text_dumper_100
tests/benchmarks/test_dumper.py
CodSpeed Performance Gauge
0%
190.4 µs190.6 µs

Commits

Click on a commit to change the comparison range
Base
master
9e38072
×2.5
Use PyObject_CallFunctionObjArgs in UUIDBinaryLoader
c9d9982
11 months ago
by henadzit
+69.17%
perf(uuid): speed up UUID creation using a writable subclass Introduce an object memory-compatible with UUID, but writable. Try to create this object in the fastest possible way: calling __new__ and setting its attributes. Then replace the class with the standard UUID.
a547680
11 months ago
by dvarrazzo
+9.73%
Fix endianness issues
f12182a
11 months ago
by henadzit
-2.67%
Remove C UUIDDumper and UUIDBinaryDumper
a667ceb
11 months ago
by henadzit
© 2026 CodSpeed Technology
Home Terms Privacy Docs