File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Performance Benchmarks
22
3- This directory contains reproducible performance benchmarks for ` typeid-python ` .
3+ This ` ./bench ` directory contains reproducible performance benchmarks for ` typeid-python ` .
44
55The goal is to transparently demonstrate:
66- the impact of the Rust base32 implementation,
@@ -51,7 +51,7 @@ We maintain multiple benchmark snapshots to show progress over time:
5151| ID | Description |
5252| -------- | -------------------------------------------------------------------- |
5353| ** 0001** | Pure Python implementation (before Rust) |
54- | ** 0004 ** | Rust base32 + ` uuid-utils ` + lazy UUID + single decode optimizations |
54+ | ** 0002 ** | Rust base32 + ` uuid-utils ` + lazy UUID + single decode optimizations |
5555
5656Raw benchmark data:
5757
Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ You can always extract the UUID:
118118tid.uuid
119119```
120120
121- > [ !NOTE ]
121+ > ** _ NOTE: _ **
122122> The exact Python type returned by ` tid.uuid ` depends on the available backend.
123- > For time-related information, prefer ` typeid explain ` or derived properties
123+ > For time-related information, prefer ` typeid explain ` or derived properties ( ` .creation_time ` and ` .timestamp_ms ` )
124124> over backend-specific UUID attributes.
125125
126126And you can always reconstruct a TypeID from a UUID:
You can’t perform that action at this time.
0 commit comments