@@ -297,9 +297,16 @@ make bench
297297
298298### Benchmark Results
299299
300- | Benchmark | Iterations | ns/op | B/op | allocs/op |
301- | -------------------------------------| ------------| ------:| -----:| ----------:|
302- | [ Greet] ( template_benchmark_test.go ) | 21,179,739 | 56.59 | 40 | 2 |
300+ | Benchmark Name | Iterations | ns/op | B/op | allocs/op |
301+ | ------------------------------------| ------------:| -----------:| -----------:| ----------:|
302+ | NewTxInpoints | 4,245,616 | 300.7 | 644 | 3 |
303+ | Subtree_Deserialize | 13 | 85,003,877 | 67,109,206 | 9 |
304+ | Subtree_DeserializeNodesFromReader | 13 | 82,279,602 | 50,331,666 | 2 |
305+ | Subtree_DeserializeFromReader | 14 | 82,479,347 | 67,108,952 | 7 |
306+ | SubtreeNodeIndex | 2,659,832 | 440.5 | 45 | 1 |
307+ | Subtree_AddNode | 135,712,501 | 11.85 | 0 | 0 |
308+ | Subtree_Serialize | 36,528,111 | 46.54 | 155 | 0 |
309+ | Subtree_SerializeNodes | 100,000,000 | 10.94 | 32 | 0 |
303310
304311> These benchmarks reflect fast, allocation-free lookups for most retrieval functions, ensuring optimal performance in production environments.
305312> Performance benchmarks for the core functions in this library, executed on an Apple M1 Max (ARM64).
0 commit comments