generated from openpeeps/pistachio
-
Notifications
You must be signed in to change notification settings - Fork 0
Benchmarks
George Lemon edited this page Jul 31, 2023
·
5 revisions
This page contains all kinds of numbers. When comparing to other implementations, we will use the Hyperfine tool. Otherwise, the internal benchmark tool will be used.
echo "Hello, World!"
Done in 353 microseconds and 138 nanoseconds
Memory optimization is important, that's why Bro always tries to keep its memory footprint as low as possible.
Let's compare the memory usage of watch
command for 1.572.876
lines of
.btn
background: yellow
Bro | Dart Sass | |
---|---|---|
⏲️ | 262,1 kB | 307,9 MB |
💾 | 482,0 MB | 658,0 MB |
🔄 | yes | no |
⏲️ When idle
💾 When saving...
🔄 Release Memory back to OS
Runs: once
.a
font-style: bold
.b
@extend .a
font-size: 12px
Results
Benchmark 1: ./dart sass.snapshot test.sass:test.css --no-source-map --style=compressed
Time (abs ≡): 193.6 ms [User: 183.7 ms, System: 43.9 ms]
Benchmark 2: bro test.sass --minify
Time (abs ≡): 1.5 ms [User: 0.0 ms, System: 1.7 ms]
Benchmark 3: sassc test.sass test.css --style=compressed
Time (abs ≡): 1.9 ms [User: 1.9 ms, System: 0.0 ms]
Summary
'bro test.sass --minify' ran
1.32 times faster than 'sassc test.sass test.css --style=compressed'
131.36 times faster than './dart sass.snapshot test.sass:test.css --no-source-map --style=compressed'
Versions
- Bro
0.1.1
- Dart Sass
1.58.1
- SassC
3.5