File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # ` observable-prerender ` Internal Benchmarks
Original file line number Diff line number Diff line change 1+ | Command | Mean [ s] | Min [ s] | Max [ s] | Relative |
2+ | :---| ---:| ---:| ---:| ---:|
3+ | ` observable-prerender @d3/bar-chart chart -o ./out/bar-chart.svg ` | 1.091 ± 0.220 | 0.960 | 1.710 | 1.00 |
4+ | ` observable-prerender @d3/bar-chart chart -o ./out/bar-chart.png ` | 1.252 ± 0.034 | 1.211 | 1.313 | 1.15 ± 0.23 |
5+ | ` observable-prerender @d3/bivariate-choropleth chart -o ./out/choropleth-chart.svg ` | 1.337 ± 0.267 | 1.220 | 2.094 | 1.23 ± 0.35 |
6+ | ` observable-prerender @d3/bivariate-choropleth chart -o ./out/choropleth-chart.png ` | 1.487 ± 0.027 | 1.448 | 1.541 | 1.36 ± 0.28 |
7+ | ` observable-prerender @asg017/covid19-cases-in-whittier-california chart -o ./out/whittier-chart.svg ` | 1.717 ± 0.452 | 1.516 | 2.995 | 1.57 ± 0.52 |
8+ | ` observable-prerender @asg017/covid19-cases-in-whittier-california chart -o ./out/whittier-chart.png ` | 2.067 ± 0.422 | 1.796 | 3.116 | 1.90 ± 0.54 |
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ BASEDIR=$( dirname " $0 " )
3+ OUTDIR=" $BASEDIR /out"
4+
5+ PATH=" $PATH :$BASEDIR /../bin"
6+
7+ mkdir -p $OUTDIR
8+
9+ hyperfine --export-markdown basics.md \
10+ " observable-prerender @d3/bar-chart chart -o $OUTDIR /bar-chart.svg" \
11+ " observable-prerender @d3/bar-chart chart -o $OUTDIR /bar-chart.png" \
12+ " observable-prerender @d3/bivariate-choropleth chart -o $OUTDIR /choropleth-chart.svg" \
13+ " observable-prerender @d3/bivariate-choropleth chart -o $OUTDIR /choropleth-chart.png" \
14+ " observable-prerender @asg017/covid19-cases-in-whittier-california chart -o $OUTDIR /whittier-chart.svg" \
15+ " observable-prerender @asg017/covid19-cases-in-whittier-california chart -o $OUTDIR /whittier-chart.png"
You can’t perform that action at this time.
0 commit comments