aboutsummaryrefslogtreecommitdiff
path: root/flatcc/test/benchmark/benchout-ubuntu.txt
blob: b55190109404b06c71d846b65aee7e7f4945b27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
running all benchmarks (raw, flatc C++, flatcc C)
building and benchmarking raw strucs
running flatbench for raw C structs (debug)
----
operation: flatbench for raw C structs encode (debug)
elapsed time: 0.065 (s)
iterations: 1000000
size: 312 (bytes)
bandwidth: 4781.609 (MB/s)
throughput in ops per sec: 15325670.498
throughput in 1M ops per sec: 15.326
time per op: 65.250 (ns)

operation: flatbench for raw C structs decode/traverse (debug)
elapsed time: 0.063 (s)
iterations: 1000000
size: 312 (bytes)
bandwidth: 4931.325 (MB/s)
throughput in ops per sec: 15805528.774
throughput in 1M ops per sec: 15.806
time per op: 63.269 (ns)
----
running flatbench for raw C structs (optimized)
----
operation: flatbench for raw C structs encode (optimized)
elapsed time: 0.030 (s)
iterations: 1000000
size: 312 (bytes)
bandwidth: 10521.346 (MB/s)
throughput in ops per sec: 33722263.438
throughput in 1M ops per sec: 33.722
time per op: 29.654 (ns)

operation: flatbench for raw C structs decode/traverse (optimized)
elapsed time: 0.012 (s)
iterations: 1000000
size: 312 (bytes)
bandwidth: 25409.235 (MB/s)
throughput in ops per sec: 81439856.666
throughput in 1M ops per sec: 81.440
time per op: 12.279 (ns)
----
building and benchmarking flatc generated C++
running flatbench flatc for C++ (debug)
----
operation: flatc for C++ encode (debug)
elapsed time: 5.577 (s)
iterations: 1000000
size: 344 (bytes)
bandwidth: 61.679 (MB/s)
throughput in ops per sec: 179300.638
throughput in 1M ops per sec: 0.179
time per op: 5.577 (us)

operation: flatc for C++ decode/traverse (debug)
elapsed time: 0.892 (s)
iterations: 1000000
size: 344 (bytes)
bandwidth: 385.522 (MB/s)
throughput in ops per sec: 1120703.084
throughput in 1M ops per sec: 1.121
time per op: 892.297 (ns)
----
running flatbench flatc for C++ (optimized)
----
operation: flatc for C++ encode (optimized)
elapsed time: 0.516 (s)
iterations: 1000000
size: 344 (bytes)
bandwidth: 667.104 (MB/s)
throughput in ops per sec: 1939254.783
throughput in 1M ops per sec: 1.939
time per op: 515.662 (ns)

operation: flatc for C++ decode/traverse (optimized)
elapsed time: 0.030 (s)
iterations: 1000000
size: 344 (bytes)
bandwidth: 11479.294 (MB/s)
throughput in ops per sec: 33370040.378
throughput in 1M ops per sec: 33.370
time per op: 29.967 (ns)
----
building and benchmarking flatcc generated C
[1/1] Linking C executable ../../bin/flatcc_d
[1/1] Linking C executable ../../bin/flatcc
running flatbench flatcc for C (debug)
----
operation: flatcc for C encode (debug)
elapsed time: 1.893 (s)
iterations: 1000000
size: 336 (bytes)
bandwidth: 177.461 (MB/s)
throughput in ops per sec: 528159.065
throughput in 1M ops per sec: 0.528
time per op: 1.893 (us)

operation: flatcc for C decode/traverse (debug)
elapsed time: 0.643 (s)
iterations: 1000000
size: 336 (bytes)
bandwidth: 522.374 (MB/s)
throughput in ops per sec: 1554685.277
throughput in 1M ops per sec: 1.555
time per op: 643.217 (ns)
----
running flatbench flatcc for C (optimized)
----
operation: flatcc for C encode (optimized)
elapsed time: 0.531 (s)
iterations: 1000000
size: 336 (bytes)
bandwidth: 632.498 (MB/s)
throughput in ops per sec: 1882434.440
throughput in 1M ops per sec: 1.882
time per op: 531.227 (ns)

operation: flatcc for C decode/traverse (optimized)
elapsed time: 0.028 (s)
iterations: 1000000
size: 336 (bytes)
bandwidth: 12200.879 (MB/s)
throughput in ops per sec: 36312139.148
throughput in 1M ops per sec: 36.312
time per op: 27.539 (ns)
----
building and benchmarking flatcc json generated C
[1/1] Linking C executable ../../bin/flatcc_d
[1/1] Linking C executable ../../bin/flatcc
running flatbench flatcc json parse and print for C (debug)
----
operation: flatcc json parser and printer for C encode (debug)
elapsed time: 3.931 (s)
iterations: 1000000
size: 722 (bytes)
bandwidth: 183.674 (MB/s)
throughput in ops per sec: 254396.609
throughput in 1M ops per sec: 0.254
time per op: 3.931 (us)

operation: flatcc json parser and printer for C decode/traverse (debug)
elapsed time: 6.874 (s)
iterations: 1000000
size: 722 (bytes)
bandwidth: 105.031 (MB/s)
throughput in ops per sec: 145472.171
throughput in 1M ops per sec: 0.145
time per op: 6.874 (us)
----
running flatbench flatcc json parse and print for C (optimized)
----
operation: flatcc json parser and printer for C encode (optimized)
elapsed time: 1.210 (s)
iterations: 1000000
size: 722 (bytes)
bandwidth: 596.609 (MB/s)
throughput in ops per sec: 826328.137
throughput in 1M ops per sec: 0.826
time per op: 1.210 (us)

operation: flatcc json parser and printer for C decode/traverse (optimized)
elapsed time: 1.772 (s)
iterations: 1000000
size: 722 (bytes)
bandwidth: 407.372 (MB/s)
throughput in ops per sec: 564227.736
throughput in 1M ops per sec: 0.564
time per op: 1.772 (us)
----