tree: 2d7a4da24fc084238432002e12e9d2c5e00a5d36 [path history] [tgz]
  1. bin/
  2. datasets/
  3. lib/
  4. protos/
  5. tool/
  6. mono_pkg.yaml
  7. protoc_version
  8. pubspec.yaml
  9. README.md
benchmarks/README.md

Running benchmarks

  • Compile protos with ./tool/compile_protos.sh

  • JIT: Run benchmark programs in bin/, e.g. dart bin/from_binary.dart

  • AOT and JS:

    • Compile benchmark programs to native, JS, and JIT snapshots with ./tool/compile_benchmarks.dart

    • Run benchmark programs in out/:

      • AOT: ./out/from_binary.exe
      • JS: d8 $DART_SDK/lib/_internal/js_runtime/lib/preambles/d8.js out/from_binary.js

Development

protoc_version file specifies the version of protoc Golem will use when building the benchmarks, and allows updating the protoc version without changing Golem.