Skip to content
This repository has been archived by the owner. It is now read-only.

Initial support for benchmarks of the plugins #458

Merged
merged 1 commit into from Jun 13, 2020
Merged

Conversation

psibi
Copy link
Contributor

@psibi psibi commented Jun 13, 2020

This MR adds the initial infrastructure for the benchmarking of the plugins. Right now it's quite hard to measure things and see if something is actually causing any improvements here.

This is the output you get right now with this MR:

$ stack bench
benchmarked Cpu Benchmarks/CPU normal args
time                 100.5 μs   (99.87 μs .. 100.8 μs)
                     0.999 R²   (0.998 R² .. 1.000 R²)
mean                 102.2 μs   (101.7 μs .. 103.4 μs)
std dev              2.377 μs   (1.009 μs .. 4.864 μs)

Benchmark xmobarbench: FINISH
Completed 2 action(s).

Note that this is initial MR and we should improve this further by adding benchmark for various other monitors.

jaor
jaor approved these changes Jun 13, 2020
@jaor jaor merged commit 2ae720a into jaor:master Jun 13, 2020
@jaor
Copy link
Owner

jaor commented Jun 13, 2020

As promising as sorely needed. Thanks!

@psibi psibi mentioned this pull request Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants