From 12f197d279e431df86ee615ff1cb8fed1342e702 Mon Sep 17 00:00:00 2001 From: Andy Chu Date: Sun, 14 Oct 2018 11:02:42 -0700 Subject: [PATCH] [release] Add native-code metrics to release/$VERSION/index.html. --- benchmarks/native-code.sh | 2 +- doc/release-index.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/benchmarks/native-code.sh b/benchmarks/native-code.sh index 690f9b7271..15082a5bd0 100755 --- a/benchmarks/native-code.sh +++ b/benchmarks/native-code.sh @@ -99,7 +99,7 @@ run-for-release() { head $BASE_DIR/symbols.tsv $BASE_DIR/compileunits.tsv - report + report | tee $BASE_DIR/overview.txt } # TODO: diff --git a/doc/release-index.md b/doc/release-index.md index 636b1321fb..f5e5c8dfec 100644 --- a/doc/release-index.md +++ b/doc/release-index.md @@ -44,8 +44,15 @@ Oil Version 0.6.pre5 compiled with CPython (for comparison). - [src-bin-ratio-with-opy](metrics.wwz/bytecode/src-bin-ratio-with-opy.txt) - How big is the compiled output? +- Native Code Metrics + - [overview](metrics.wwz/native-code/overview.txt) - An analysis of GCC's + compilation of [OVM][] (a subset of CPython). [Bloaty][] provides the + underlying data. [cloc]: https://github.com/AlDanial/cloc +[Bloaty]: https://github.com/google/bloaty +[OVM]: //www.oilshell.org/cross-ref.html?tag=OVM#OVM + ### Oil Tests