File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ call dart test -p vm || goto :error
44if not exist " build" mkdir build || goto :error
55call dart compile exe .\benchmark\benchmark.dart -o .\build\benchmark.exe || goto :error
66call .\build\benchmark.exe BENCHMARK.md || goto :error
7+
8+ call echo| set /p=" > All benchmarks are done on _AMD Ryzen 7 5800X_ processor and _3200MHz_ RAM using compiled _exe_" >> BENCHMARK.md
9+ call echo .>> BENCHMARK.md
710call echo| set /p=" >" >> BENCHMARK.md
11+ call echo .>> BENCHMARK.md
812call echo| set /p=" > " >> BENCHMARK.md
913call dart --version >> BENCHMARK.md
1014
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -ex
3+
34dart test -p vm
45mkdir -p build
56dart compile exe ./benchmark/benchmark.dart -o ./build/benchmark
67chmod +x ./build/benchmark
78./build/benchmark BENCHMARK.md
8- echo " >" >> BENCHMARK.md
9- echo " > $( dart --version) " >> BENCHMARK.md
9+
10+ printf " > All benchmarks are done on 36GB _Apple M3 Pro_ using compiled _exe_\n" >> BENCHMARK.md
11+ printf " >\n" >> BENCHMARK.md
12+ printf " > $( dart --version) \n" >> BENCHMARK.md
Original file line number Diff line number Diff line change 11@ echo off
2- rd /s /q " coverage" || goto : error
2+ rd /s /q " coverage" 2 > nul
33mkdir " coverage" || goto :error
44
5- call dart test -p vm --coverage=" ./coverage" --reporter json | tojunit > " ./coverage/junit.xml " || goto :error
5+ call dart test -p vm --coverage=" ./coverage" || goto :error
66call dart pub global run coverage:format_coverage --lcov --in=" ./coverage/test" --out=" ./coverage/lcov.info" --report-on=" ./lib" || goto :error
77call dart pub global run cobertura convert
88call dart pub global run cobertura show
9+ call dart test -p vm --reporter json | tojunit > " ./coverage/junit.xml"
910
1011goto :EOF
1112
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -ex
3- rm -rf coverage
3+ rm -rf coverage || echo ' ' > /dev/null
44mkdir -p coverage
5- dart test -p vm --coverage=" ./coverage" --reporter json | tojunit > " ./coverage/junit.xml "
5+ dart test -p vm --coverage=" ./coverage"
66dart pub global run coverage:format_coverage --lcov --in=" ./coverage/test" --out=" ./coverage/lcov.info" --report-on=" ./lib"
77dart pub global run cobertura convert
88dart pub global run cobertura show
9+ dart test -p vm --reporter json | tojunit > " ./coverage/junit.xml"
Original file line number Diff line number Diff line change 1+ @ echo off
2+
3+ call dart pub global activate pana
4+ call dart pub global activate coverage
5+ call dart pub global activate cobertura
6+ call dart pub global activate junitreport
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -ex
3+
4+ dart pub global activate pana
5+ dart pub global activate coverage
6+ dart pub global activate cobertura
7+ dart pub global activate junitreport
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments