English counterpart of PERFORMANCE_BASELINE.md. | Türkçe
clojure -M:benchmark, clojure -M:soakEach microbenchmark performs 30 × 1,000 measured operations after 5,000 warmup operations. p50/p95 are calculated from nanoseconds-per-operation samples for each batch. Results are release regression references and vary with CPU, JVM warmup, and system load.
| Scenario | p50 ns/op | p95 ns/op | Approx. throughput/sec |
|---|---|---|---|
| Bounded buffer offer/poll | 995 | 1,751 | 1,004,823 |
| HMAC WebSocket signing | 125,442 | 176,845 | 7,971 |
| Market JSON parse + normalize | 11,205 | 16,012 | 89,243 |
| User event normalize | 8,864 | 10,312 | 112,812 |
A ten-second single-producer/single-consumer loop combined executionReport normalization with bounded queue offer/poll:
| Measurement | Result |
|---|---|
| Events processed | 1,383,948 |
| Messages/sec | 138,394 |
| Final queue depth | 0 |
| Dropped events | 0 |
| Thread delta | 0 |
| Post-GC heap delta | 2,024 bytes |
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |