ranweiler / liar Goto Github PK
View Code? Open in Web Editor NEWFlexible, stand-alone benchmarking
License: ISC License
Flexible, stand-alone benchmarking
License: ISC License
Right now, we have a Reporter
struct with a draft approximation of libtest's benchmark output. Remove this, and replace it with a trait. We should also add a line-oriented, delimited reporter that can be used out of the box and fed to Unix utilities.
Hi Joe!
With both the MIT and ISC licenses in the root directory, but no explanation anywhere, it's unclear what you intend the licensing to be.
Support configurable sample sizes and running strategies to obtain samples, such as performing a linear regression on increasing loop counts.
Add Travis integration, and if possible, use it to check that we can build the example projects.
Right now, when building with std
, we use Instant
to measure time, like cargo bench
does. Under the hood, on Linux, for example, this uses clock_gettime()
with CLOCK_MONOTONIC
.
Instead, we should use something like CLOCK_THREAD_CPUTIME_ID
, and the nearest equivalents on other platforms. It would be nice for this to be configurable, too, for example, in the case that a benchmark uses threads, and so we might want CLOCK_PROCESS_CPUTIME_ID
.
Currently fails with: undefined reference to `__rust_probestack'
.
The existing names are confusing. For example, Bencher
has a field samples: Vec<Samples>
.
The current implementation is a first draft, with the examples acting as integration tests. We need to add unit tests, especially for reporters.
After we have another runner, explore adding a Runner
trait and making Bencher
generic in it.
For example, support selecting which statistics to report, how to filter samples, serving graphs (possibly via a local HTTP server), JSON output, &c.
We can then compute a linear regression on the results, as in criterion
or core_bench
.
Also, add #[deny(missing_docs)]
.
The initial implementation is totally reckless wrt panics, casting of numeric types, and floating point arithmetic. Fix this up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.