Skip to content

Commit 18f581a

Browse files
committed
feat: updated benchmarks
1 parent c8d033f commit 18f581a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -297,17 +297,17 @@ make bench
297297

298298
### Benchmark Results
299299

300-
| Benchmark | Iterations | ns/op | B/op | allocs/op |
301-
|-------------------------------------------------------------|---------------|-------:|-------:|----------:|
302-
| [Bytes2Uint16Buckets](tx_map_benchmarks_test.go) | 1,000,000,000 | 1 | 0 | 0 |
303-
| [ConvertSyncMapToUint32Slice](tx_map_benchmarks_test.go) | 86,636 | 13312 | 12920 | 11 |
304-
| [ConvertSyncedMapToUint32Slice](tx_map_benchmarks_test.go) | 57,505 | 20754 | 12920 | 11 |
305-
| [NewSplitSwissLockFreeMapUint64](tx_map_benchmarks_test.go) | 4,792 | 414742 | 442192 | 4112 |
306-
| [NewSplitSwissMap](tx_map_benchmarks_test.go) | 2,715 | 423537 | 840626 | 4107 |
307-
| [NewSplitSwissMapUint64](tx_map_benchmarks_test.go) | 2,401 | 465790 | 868603 | 4112 |
308-
| [NewSwissLockFreeMapUint64](tx_map_benchmarks_test.go) | 251,127 | 5740 | 19664 | 3 |
309-
| [NewSwissMap](tx_map_benchmarks_test.go) | 117,189 | 9331 | 42192 | 3 |
310-
| [NewSwissMapUint64](tx_map_benchmarks_test.go) | 125,695 | 11093 | 50384 | 3 |
300+
| Benchmark | Iterations | ns/op | B/op | allocs/op |
301+
|-------------------------------------------------------------|---------------|--------:|--------:|----------:|
302+
| [Bytes2Uint16Buckets](tx_map_benchmarks_test.go) | 1,000,000,000 | 0.31 | 0 | 0 |
303+
| [ConvertSyncMapToUint32Slice](tx_map_benchmarks_test.go) | 123,170 | 9,704 | 12,920 | 11 |
304+
| [ConvertSyncedMapToUint32Slice](tx_map_benchmarks_test.go) | 94,824 | 12,860 | 12,920 | 11 |
305+
| [NewSplitSwissLockFreeMapUint64](tx_map_benchmarks_test.go) | 7,581 | 141,465 | 302,791 | 4,112 |
306+
| [NewSplitSwissMap](tx_map_benchmarks_test.go) | 6,442 | 169,322 | 504,418 | 4,107 |
307+
| [NewSplitSwissMapUint64](tx_map_benchmarks_test.go) | 5,205 | 192,413 | 532,395 | 4,112 |
308+
| [NewSwissLockFreeMapUint64](tx_map_benchmarks_test.go) | 624,360 | 1,776 | 19,664 | 3 |
309+
| [NewSwissMap](tx_map_benchmarks_test.go) | 367,938 | 3,101 | 42,192 | 3 |
310+
| [NewSwissMapUint64](tx_map_benchmarks_test.go) | 309,972 | 3,521 | 50,384 | 3 |
311311

312312
> These benchmarks reflect fast, allocation-free lookups for most retrieval functions, ensuring optimal performance in production environments.
313313
> Performance benchmarks for the core functions in this library, executed on an Apple M1 Max (ARM64).

0 commit comments

Comments
 (0)