hlc_dart
The hybrid logical clock: local and receive events, comparison, and the 8-byte encoding. Each row repeats the operation 100,000 times.
hlc_benchmark.dart
| Benchmark | RunTime (us) | RunTime (ms) | RunTime (s) |
|---|---|---|---|
| HLC toUint8List x100k | 24.4501 | 0.0245 | 0.000024 |
| HLC fromUint8List x100k | 495.9672 | 0.4960 | 0.000496 |
| HLC compareTo x100k | 84.0660 | 0.0841 | 0.000084 |
| HLC localEvent x100k | 62.8956 | 0.0629 | 0.000063 |
| HLC receiveEvent x100k | 299.0430 | 0.2990 | 0.000299 |