forked from kadena-io/pact
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgas-prices.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 1 column, instead of 4 in line 3.
127 lines (127 loc) · 2.21 KB
/
gas-prices.csv
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
Purpose: Calculate the gas price of Pact native functions using a data-driven model
Number of cores available for benchmarks: 1
Operating System: Linux/NixOS
More inforamtion on hardware used: AWS t2.xlarge, x86_64, 4 CPU cores, 16GB Memory
"Implementation: For every native function, executes and benchmarks (using Criterion) simple examples of said function."
Number of iterations: Each function's tests are run three times against each backend type and averaged.
Benchmark backend(s): [Sqlite db with `fastNoJournalPragmas`]
"From benchmark to a native function's price: For every backend type, all of the means of the function's benchmark examples are converted into nanoseconds, averaged together, divided by 2500.0, and rounded up to the nearest integer.Only the benchmark averages of the simple function tests are used when calculating the function's price."
,
function,gas price (2500.0 ns)
!=,2
&,1
*,3
+,1
-,1
/,3
<,2
<=,2
=,2
>,2
>=,2
^,4
abs,1
add-time,3
and,1
and?,1
at,2
base64-decode,1
base64-encode,1
bind,4
ceiling,1
chain-data,1
compose,1
compose-capability,2
constantly,1
contains,2
create-module-guard,1
create-pact-guard,1
create-table,15
create-user-guard,1
days,4
decrypt-cc20p1305,33
define-keyset,20
define-namespace,25
describe-keyset,7
describe-module,10
describe-table,3
diff-time,8
drop,3
enforce,1
enforce-guard,8
enforce-keyset,8
enforce-one,6
enforce-pact-version,0
exp,5
filter,3
floor,1
fold,3
format,4
format-time,4
hash,5
hours,4
identity,2
if,1
insert,21
install-capability,3
int-to-str,1
interface,33
is-charset,1
keylog,11
keys,10
keys-2,1
keys-all,1
keys-any,1
keyset-ref-guard,7
length,1
list-modules,8
ln,6
log,3
make-list,1
map,4
minutes,4
mod,1
module,147
namespace,12
not,1
not?,1
or,1
or?,1
pact-id,0
pact-version,1
parse-time,2
read,10
read-decimal,1
read-integer,1
read-keyset,1
read-msg,27
read-string,1
remove,2
require-capability,1
resume,2
reverse,2
round,1
select,24
shift,1
sort,2
sqrt,6
str-to-int,1
take,3
time,2
try,1
tx-hash,0
txids,10
txlog,3
typeof,2
update,25
use,3
validate-keypair,29
where,2
with-capability,2
with-default-read,14
with-read,13
write,25
xor,1
yield,2
|,1
~,1