Skip to content

Commit 6d280f5

Browse files
committed
[GR-28780] Save tagged graphs of benchmarks
PullRequest: graalpython/1530
2 parents bbefe16 + 0c985c7 commit 6d280f5

23 files changed

+110
-5
lines changed

graalpython/com.oracle.graal.python.benchmarks/python/micro/arith-binop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# OF THE POSSIBILITY OF SUCH DAMAGE.
2424
# arithmetic ops (partially extracted from spectralnorm)
2525

26-
26+
# igv: function_root_docompute_at
2727
def docompute(num):
2828
for i in range(num):
2929
sum_ = 0.0

graalpython/com.oracle.graal.python.benchmarks/python/micro/arith-modulo-sized.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
# modulo ops
2525

2626

27+
# igv: function_root_docompute_at
2728
def docompute(num):
2829
for i in range(num):
2930
sum = 0

graalpython/com.oracle.graal.python.benchmarks/python/micro/attribute-access-polymorphic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def __init__(self, foo):
6161
WorkTask(12), WorkTask(13), WorkTask(14), WorkTask(15)]
6262

6363

64+
# igv: function_root_do_stuff_at
6465
def do_stuff():
6566
task_list = TASK_LIST
6667
total = 0

graalpython/com.oracle.graal.python.benchmarks/python/micro/attribute-access-super.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def get_super(self):
6363
return super()
6464

6565

66+
# ~igv~: function_root_do_stuff_at
6667
def do_stuff(bar):
6768
foobar = bar.get_super()
6869
for i in range(50000):

graalpython/com.oracle.graal.python.benchmarks/python/micro/attribute-access.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def __init__(self, a):
3131
self.a = a
3232

3333

34+
# igv: function_root_do_stuff_at
3435
def do_stuff(foo):
3536
for i in range(iteration):
3637
local_a = foo.a + 1

graalpython/com.oracle.graal.python.benchmarks/python/micro/attribute-bool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def running(self):
5151
return self
5252

5353

54+
# igv: function_root_do_stuff_at
5455
def do_stuff():
5556
task = TaskState()
5657

graalpython/com.oracle.graal.python.benchmarks/python/micro/boolean-logic-sized.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def setup_task_queue():
5858
TASK_QUEUE = setup_task_queue()
5959

6060

61+
# igv: function_root_do_stuff_at
6162
def do_stuff():
6263
total = 0
6364
for i in range(iteration):

graalpython/com.oracle.graal.python.benchmarks/python/micro/builtin-len-tuple-sized.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# OF THE POSSIBILITY OF SUCH DAMAGE.
2424
# builtin function len()
2525

26+
# igv: function_root_call_len_at
2627
def call_len(num, ll):
2728
length = 0
2829
for i in range(num):

graalpython/com.oracle.graal.python.benchmarks/python/micro/builtin-len.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# OF THE POSSIBILITY OF SUCH DAMAGE.
2424
# builtin function len()
2525

26+
# igv: function_root_call_len_at
2627
def call_len(num, ll):
2728
length = 0
2829
for i in range(num):

graalpython/com.oracle.graal.python.benchmarks/python/micro/c-call-classmethod.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
ccompile("c_classmethod", code)
129129
from c_classmethod import NativeCustomType
130130

131+
# ~igv~: function_root_count_at
131132
def count(num):
132133
total = 0
133134
for i in range(num):

0 commit comments

Comments
 (0)