Permalink
Browse files
Update release instructions, and fix pyc bytecode metric.
- Loading branch information...
Showing
with
9 additions
and
4 deletions.
-
+4
−2
build/metrics.sh
-
+5
−2
scripts/release.sh
|
|
@@ -22,18 +22,20 @@ linecount-nativedeps() { |
|
|
find _tmp/${app_name}-tar-test -name '*.[ch]' | xargs wc -l | sort -n
|
|
|
}
|
|
|
|
|
|
readonly BYTECODE='bytecode-opy'
|
|
|
|
|
|
linecount-pydeps() {
|
|
|
local app_name=${1:-oil}
|
|
|
|
|
|
awk '/\.py$/ { print $1 }' _build/$app_name/bytecode-cpython-manifest.txt |
|
|
|
awk '/\.py$/ { print $1 }' _build/$app_name/${BYTECODE}-manifest.txt |
|
|
|
sort | uniq | xargs wc -l | sort -n
|
|
|
}
|
|
|
|
|
|
# Print table of [num_bytes pyc path]
|
|
|
pyc-bytes() {
|
|
|
local app_name=${1:-oil}
|
|
|
|
|
|
awk '/\.pyc$/ { print $1 }' _build/$app_name/bytecode-cpython-manifest.txt |
|
|
|
awk '/\.pyc$/ { print $1 }' _build/$app_name/${BYTECODE}-manifest.txt |
|
|
|
sort | uniq | xargs wc --bytes | sort -n
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -8,10 +8,13 @@ |
|
|
# $0 build-and-test (builds tarball, runs spec tests, etc.)
|
|
|
# prereq: build/codegen.sh {download,install}-re2c
|
|
|
# test/wild.sh all
|
|
|
# benchmarks/auto.sh all on both flanders and lisa
|
|
|
# benchmarks:
|
|
|
# Sync up oilshell/benchmark-data repo.
|
|
|
# flanders: $0 benchmark-build, then $0 benchmark-run
|
|
|
# - for stability, restart flanders
|
|
|
# - prereq: benchmarks/osh-runtime.sh {download,extract}
|
|
|
# benchmarks/oheap.sh measure
|
|
|
# lisa: $0 benchmark-run, then $0 benchmark-run-on-1-machine (oheap)
|
|
|
# Commit files to oilshell/benchmark-data repo and sync.
|
|
|
# benchmarks/report.sh all
|
|
|
# $0 metrics
|
|
|
# $0 build-tree
|
|
|
|
0 comments on commit
347e470