Skip to content

Commit 7a3808d

Browse files
committed
keep notes of igv exploration
1 parent a93c031 commit 7a3808d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

graalpython/com.oracle.graal.python.benchmarks/python/micro/bytecode-benchmark.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@
4343
# 77 instructions on CPython 3.10.0
4444
# 75 instructions on CPython 2.7.18
4545

46+
# useful IGV filters when focusing on the bytecode switch:
47+
#
48+
# Colorize by frequency
49+
# > colorizeGradientWithMode("relativeFrequency", 0, 7, "logarithmic");
50+
#
51+
# Remove low frequency bytecode branches (less than 0.4 relativeFrequency)
52+
# > remove("relativeFrequency", "^(0\\.(0|1|2|3).+|.+E-.+)$");
53+
54+
4655
def __benchmark__(num=10):
4756
size = 8191
4857
iter = 0

0 commit comments

Comments
 (0)