Remove out/ from repository

Removes the out/ directory from the repository. Also adds a .gitignore
file and fixes up the top level README file.
67 files changed
tree: b03972793d285b3e465c35dc3b46d5f41394e1a0
  1. build/
  2. scripts/
  3. third_party/
  4. .gitignore
  5. .gn
  6. BUILD.gn
  7. LICENSE
  8. README.md
README.md

Setup

  1. Install required dependencies for building: sudo apt-get install curl unzip python python2.
  2. Change directory to the root of the repo: cd fuchsia-benchmarks and run the setup script ./scripts/download-build-tools.sh
  3. Generate ninja files: ./buildtools/linux64/gn gen out/core.astro-release --args='target_os="fuchsia" target_cpu="arm64"'
  4. Build: ./buildtools/linux64/ninja -C out/core.astro-release
  5. Start the package server: ./third_party/fuchsia-sdk/bin/fserve.sh

Dhrystone Benchmark

See https://en.wikipedia.org/wiki/Dhrystone.

How to Run

  1. Follow previous steps from the Setup section
  2. Publish the Dhrystone component: ./third_party/fuchsia-sdk/bin/fpublish.sh out/core.astro-release/gen/third_party/dhrystone/dhrystone/dhrystone.far
  3. Run the benchmark: ./third_party/fuchsia-sdk/bin/fssh.sh run fuchsia-pkg://fuchsia.com/dhrystone#meta/dhrystone.cmx 10
  • This is not an officially supported Google product*