Flutter 🎯, React ⚛️, Music 🪩, Montains ⛰️
```yaml
command:
publish:
hooks:
pre: melos run benchmark && …
scripts:
benchmark:
name: Benchmark
description: Run the benchmarks
run: cd packages/crdt_lf && ./benchmark/run.sh
```
```yaml
command:
publish:
hooks:
pre: melos run benchmark && …
scripts:
benchmark:
name: Benchmark
description: Run the benchmarks
run: cd packages/crdt_lf && ./benchmark/run.sh
```
# Clean up previous results
rm -f benchmark/results.md
# Run each benchmark and append its output to the results file
for benchmark in benchmark/src/benchmarks/*_benchmark.dart; do
dart run "$benchmark" >> benchmark/results.md
done
```
# Clean up previous results
rm -f benchmark/results.md
# Run each benchmark and append its output to the results file
for benchmark in benchmark/src/benchmarks/*_benchmark.dart; do
dart run "$benchmark" >> benchmark/results.md
done
```
Here’s the shell script I use to run the benchmarks and generate the results:
Here’s the shell script I use to run the benchmarks and generate the results:
#dart #flutter #file_upload #http
pub.dev/packages/htt...
#dart #flutter #file_upload #http
pub.dev/packages/htt...