{"repo":"bazhenov/tango","free":true,"listed":false,"github":"https://github.com/bazhenov/tango","clone":"git clone https://github.com/bazhenov/tango.git","description":"Rust microbenchmarking harness based on paired-testing methodology","language":"Rust","stars":157,"topics":["cli","microbenchmark","performance-testing","rust"],"license":"MIT","category":"cli-tools","readme_excerpt":"Tango.rs It used to be that benchmarking required a significant amount of time and numerous iterations to arrive at meaningful results, which was particularly arduous when trying to detect subtle changes, such as those within the range of a few percentage points. Introducing Tango.rs, a novel benchmarking framework that employs paired benchmarking to assess code performance. This approach capitalizes on the fact that it's far more efficient to measure the performance difference between two simultaneously executing functions compared to two functions executed consecutively. Features: - very high sensitivity to changes which allows to converge on results quicker than traditional (pointwise) approach. Often the fraction of a second is enough; - ability to compare different versions of the same code from different VCS commits (A/B-benchmarking); - async support using tokio.rs; - macOS, Linux and Windows support; 1 second, 1 percent, 1 error Compared to traditional pointwise benchmarking, paired benchmarking is significantly more sensitive to changes. This heightened sensitivity enables the early detection of statistically significant performance variations. Tango is designed to have the capability to detect a 1% change in performance within just 1 second in at least 9 out of 10 test runs. Prerequirements 1. Rust and Cargo toolchain installed (Rust stable is supported on all platforms) 1. ( Optional ) cargo-export installed Getting started 1. Add cargo dependency and create new be","default_branch":null,"files":null,"tree":[],"storefront":"/r/bazhenov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bazhenov/tango/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}