ActivityWatch / ActivityWatch/aw-server-rust

Write benchmark tests for common transforms/queries

Offen
#152 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
315
Forks
96
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
14

Beschreibung

I found this section about benchmark tests in the Rust docs and thought it might be relevant to write some for tests in aw-transforms or aw-query: https://doc.rust-lang.org/1.7.0/book/benchmark-tests.html

There's also this, which runs the benchmark tests on two commits and compares the results: https://github.com/BurntSushi/cargo-benchcmp

Would be interesting to use for comparing different releases or comparing different allocators (#144).

Have you looked at this before @johan-bjareholt?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.