Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
505 changes: 162 additions & 343 deletions README.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions data/aggregate.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
file, vertex shader, assemble primitives, geometry shader, scanline, fragment shader
cow.txt, 0.09513088, 0.152462336, 0.2157648, 8.98044288, 3.499964032
cow_nobfc.txt, 0.08912416, 0.142252992, 0.450094592, 9.017903488, 3.514585152
suzanne.txt, 0.022475968, 0.03150624, 0.063839936, 16.55485335, 4.152908032
suzanne_nobfc.txt, 0.02208192, 0.03105344, 0.081809152, 17.909788102, 4.178921536
flower.txt, 0.01738368, 0.023185152, 0.035760704, 43.651649022, 3.331216896
500 changes: 500 additions & 0 deletions data/cow.txt

Large diffs are not rendered by default.

500 changes: 500 additions & 0 deletions data/cow_nobfc.txt

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions data/cube_aa.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
0.007968 0.007424 114.774849 3.387616
0.008192 0.007488 105.377213 3.345952
0.008000 0.006720 103.672157 3.381248
0.007520 0.007680 103.008286 3.412320
0.007456 0.006720 102.928093 3.434080
0.007616 0.006912 102.997375 3.404864
0.007744 0.006848 103.007484 3.428736
0.007616 0.007360 102.928322 3.381888
0.007456 0.006432 102.924835 3.412320
0.007616 0.006976 103.012924 3.405344
0.007584 0.006912 103.185600 3.410144
0.007552 0.007712 103.002174 3.408768
0.007680 0.006752 102.928192 3.404416
0.007520 0.006496 102.912704 3.421248
0.007520 0.007104 102.923233 3.414080
0.007584 0.006848 102.928413 3.392800
0.007584 0.006496 102.934143 3.420416
0.007488 0.006496 102.929855 3.387904
0.007904 0.006528 103.188675 3.380640
0.007584 0.007552 103.006332 3.419776
0.007776 0.006592 103.009857 3.443520
0.007456 0.006656 103.012383 3.405920
0.007392 0.007200 103.009628 3.411584
0.007488 0.006912 102.998627 3.402816
0.007488 0.006496 102.931938 3.410784
0.007584 0.007232 103.006653 3.435488
0.007616 0.005760 102.924995 3.412160
0.007808 0.007200 103.019836 3.383584
0.007424 0.006848 102.928223 3.419904
0.007456 0.006624 102.999069 3.415488
0.007552 0.006880 102.998466 3.402432
0.007648 0.007040 102.932671 3.413824
0.007520 0.006496 102.925186 3.392384
0.007456 0.006528 102.931549 3.399360
0.007616 0.010528 102.925308 3.413792
0.007456 0.007104 103.012802 3.399936
0.007552 0.006720 102.996193 3.428032
0.007584 0.006368 103.004799 3.404288
0.007456 0.006912 103.007454 3.400640
0.007616 0.006848 103.003326 3.426336
0.007680 0.006720 102.932259 3.407360
0.007456 0.007104 103.197250 3.374592
0.007584 0.007072 102.927170 3.404704
0.007584 0.006976 103.001343 3.395168
0.007520 0.006720 102.928703 3.450688
0.007552 0.006976 103.005890 3.398176
0.007648 0.006528 102.920830 3.424000
0.007488 0.006912 102.920479 3.416896
0.007488 0.007360 102.924797 3.418560
0.007808 0.006880 103.188194 3.379040
500 changes: 500 additions & 0 deletions data/flower.txt

Large diffs are not rendered by default.

500 changes: 500 additions & 0 deletions data/flower_nobfc.txt

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions data/parse.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env python2

from sys import argv

def avg_one_file(filename):
txt = open(filename)

line = txt.readline().split()

maxdepth = len(line)
totals = [0.0] * maxdepth
iters = 0

while len(line) > 0:
for i, val in enumerate(line):
totals[i] += float(val)
iters += 1

line = txt.readline().split()

avgs = [ x / iters for x in totals ]
print filename + ',',
print ', '.join([ str(x) for x in avgs ])

if __name__ == '__main__':
print("file, vertex shader, assemble primitives, geometry shader, scanline, fragment shader")

for filename in argv[1:]:
avg_one_file(filename)
Binary file added data/percent-stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading