MCPcopy Create free account
hub / github.com/apache/arrow / encode

Method encode

dev/archery/archery/benchmark/codec.py:45–54  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

43class BenchmarkCodec:
44 @staticmethod
45 def encode(b):
46 return {
47 "name": b.name,
48 "unit": b.unit,
49 "less_is_better": b.less_is_better,
50 "values": b.values,
51 "time_unit": b.time_unit,
52 "times": b.times,
53 "counters": b.counters,
54 }
55
56 @staticmethod
57 def decode(dct, **kwargs):

Callers 15

test_gio_input_streamMethod · 0.45
execute_jsMethod · 0.45
construct_metadataFunction · 0.45
open_input_streamMethod · 0.45
open_input_fileMethod · 0.45
make_random_csvFunction · 0.45
make_empty_csvFunction · 0.45
test_auto_dict_encodeMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_gio_input_streamMethod · 0.36
execute_jsMethod · 0.36
open_input_streamMethod · 0.36
open_input_fileMethod · 0.36
make_random_csvFunction · 0.36
make_empty_csvFunction · 0.36
test_auto_dict_encodeMethod · 0.36
make_random_jsonFunction · 0.36