-
Notifications
You must be signed in to change notification settings - Fork 48
Benchmarks
Ibrahim Serdar Acikgoz edited this page Dec 26, 2018
·
7 revisions
Benchmarks of 5 fastest tldr clients:
benchmarking | Go | C++ | Rust | bash | node |
---|---|---|---|---|---|
response time | 5.273 ms | 6.468 ms | 11.59 ms | 77.13 ms | 415.9 ms |
0.973 R² | 0.937 R² | 0.971 R² | 0.815 R² | 0.997 R² | |
mean | 6.247 ms | 5.889 ms | 11.39 ms | 59.26 ms | 396.1 ms |
std dev | 1.203 ms | 930.1 μs | 1.170 ms | 17.87 ms | 15.89 ms |
variance introduced by outliers | 86% | 78% | 52% | 81% | 19% |
app version | v 0.3 | v 1.3.0 | v 1.1.0 | - | v 3.2.6 |
lines of code | ~1.1K | ~2.5K | ~3K | ~300 | ~4.5K |
- go tldr++
- c++ tldr-cpp-client
- rust tealdeer
- bash tldr
- node.js tldr-node-client
bench v 1.0.12 is used for benchmarking and hardware details are:
- cpu: Intel(R) Xeon(R) CPU E5-2637 v2 @ 3.50GHz,
- ram: 128GB DDR3 RAM,
- disk: SSD, 550/500(r/w)