Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created April 23, 2024 14:58
Show Gist options
  • Save zamazan4ik/1783b04847288cadb251abef3b4e43ad to your computer and use it in GitHub Desktop.
Save zamazan4ik/1783b04847288cadb251abef3b4e43ad to your computer and use it in GitHub Desktop.
prost: Release
cargo bench --workspace
Compiling tinytemplate v1.2.1
Compiling prost-build v0.12.4 (/home/zamazan4ik/open_source/prost/prost-build)
Compiling protobuf v0.0.0 (/home/zamazan4ik/open_source/prost/protobuf)
Compiling single_include v0.1.0 (/home/zamazan4ik/open_source/prost/tests/single-include)
Compiling criterion v0.4.0
Compiling tests v0.0.0 (/home/zamazan4ik/open_source/prost/tests)
Compiling tests-2015 v0.0.0 (/home/zamazan4ik/open_source/prost/tests-2015)
Compiling tests-no-std v0.0.0 (/home/zamazan4ik/open_source/prost/tests-no-std)
Compiling prost v0.12.4 (/home/zamazan4ik/open_source/prost/prost)
Compiling conformance v0.0.0 (/home/zamazan4ik/open_source/prost/conformance)
Finished bench [optimized + debuginfo] target(s) in 13.53s
Running unittests src/main.rs (target/release/deps/conformance-76b3153655453eb9)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running benches/varint.rs (target/release/deps/varint-a2860a47c8ffc769)
varint/small/encode time: [116.92 ns 117.05 ns 117.18 ns]
Found 4 outliers among 100 measurements (4.00%)
3 (3.00%) high mild
1 (1.00%) high severe
varint/small/decode time: [82.519 ns 82.559 ns 82.646 ns]
Found 7 outliers among 100 measurements (7.00%)
2 (2.00%) high mild
5 (5.00%) high severe
varint/small/encoded_len
time: [142.31 ns 142.32 ns 142.33 ns]
Found 12 outliers among 100 measurements (12.00%)
4 (4.00%) low mild
3 (3.00%) high mild
5 (5.00%) high severe
varint/medium/encode time: [578.55 ns 578.70 ns 578.87 ns]
Found 5 outliers among 100 measurements (5.00%)
3 (3.00%) high mild
2 (2.00%) high severe
varint/medium/decode time: [172.16 ns 172.45 ns 172.74 ns]
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) low mild
varint/medium/encoded_len
time: [142.23 ns 142.24 ns 142.24 ns]
Found 9 outliers among 100 measurements (9.00%)
7 (7.00%) high mild
2 (2.00%) high severe
varint/large/encode time: [1.1551 µs 1.1552 µs 1.1553 µs]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
varint/large/decode time: [278.04 ns 278.29 ns 278.54 ns]
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high mild
varint/large/encoded_len
time: [142.31 ns 142.31 ns 142.32 ns]
Found 7 outliers among 100 measurements (7.00%)
1 (1.00%) low severe
2 (2.00%) low mild
1 (1.00%) high mild
3 (3.00%) high severe
varint/mixed/encode time: [635.46 ns 635.61 ns 635.79 ns]
Found 6 outliers among 100 measurements (6.00%)
5 (5.00%) high mild
1 (1.00%) high severe
varint/mixed/decode time: [208.29 ns 208.60 ns 208.89 ns]
Found 4 outliers among 100 measurements (4.00%)
1 (1.00%) low mild
3 (3.00%) high mild
varint/mixed/encoded_len
time: [142.24 ns 142.25 ns 142.26 ns]
Found 11 outliers among 100 measurements (11.00%)
7 (7.00%) high mild
4 (4.00%) high severe
Running unittests src/lib.rs (target/release/deps/prost_build-3dba8ed93ebeb9e3)
running 25 tests
test ast::tests::test_codeblocks ... ignored
test ast::tests::test_comment_append_with_indent_leaves_prespaced_lines ... ignored
test ast::tests::test_comment_append_with_indent_sanitizes_comment_doc_url ... ignored
test ast::tests::test_comment_append_with_indent_sanitizes_square_brackets ... ignored
test code_generator::c_escaping::tests::test_unescape_c_escape_string ... ignored
test code_generator::c_escaping::tests::test_unescape_c_escape_string_incomplete_hex_value - should panic ... ignored
test extern_paths::tests::test_extern_paths ... ignored
test extern_paths::tests::test_well_known_types ... ignored
test ident::tests::test_sanitize_identifier ... ignored
test ident::tests::test_strip_enum_prefix ... ignored
test ident::tests::test_to_snake ... ignored
test ident::tests::test_to_snake_non_raw_keyword ... ignored
test ident::tests::test_to_snake_raw_keyword ... ignored
test ident::tests::test_to_upper_camel ... ignored
test path::tests::test_get_best ... ignored
test path::tests::test_get_keep_order ... ignored
test path::tests::test_get_matches_sub_path ... ignored
test path::tests::test_prefixes ... ignored
test path::tests::test_suffixes ... ignored
test tests::deterministic_include_file ... ignored
test tests::finalize_package ... ignored
test tests::smoke_test ... ignored
test tests::test_generate_field_attributes ... ignored
test tests::test_generate_message_attributes ... ignored
test tests::test_generate_no_empty_outputs ... ignored
test result: ok. 0 passed; 0 failed; 25 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/release/deps/prost_derive-2d65fb8810808815)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/release/deps/prost_types-aafc93119f59706b)
running 18 tests
test any::tests::check_any_serialization ... ignored
test datetime::tests::check_duration_parse_to_string_roundtrip ... ignored
test datetime::tests::check_timestamp_parse_to_string_roundtrip ... ignored
test datetime::tests::test_datetime_from_timestamp ... ignored
test datetime::tests::test_min_max ... ignored
test datetime::tests::test_parse_duration ... ignored
test datetime::tests::test_parse_non_ascii ... ignored
test datetime::tests::test_parse_timestamp ... ignored
test duration::tests::check_duration_normalize ... ignored
test duration::tests::check_duration_roundtrip ... ignored
test duration::tests::check_duration_roundtrip_nanos ... ignored
test duration::tests::check_duration_try_from_negative_nanos ... ignored
test timestamp::tests::check_system_time_roundtrip ... ignored
test timestamp::tests::check_timestamp_negative_seconds ... ignored
test timestamp::tests::check_timestamp_negative_seconds_1ns ... ignored
test timestamp::tests::check_timestamp_normalize ... ignored
test timestamp::tests::check_timestamp_roundtrip_via_system_time ... ignored
test type_url::tests::check_type_url_parsing ... ignored
test result: ok. 0 passed; 0 failed; 18 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running benches/dataset.rs (target/release/deps/dataset-86cf0af0f4ed9427)
dataset/google_message1_proto2/merge
time: [237.50 ns 237.64 ns 237.77 ns]
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
dataset/google_message1_proto2/encode
time: [175.01 ns 175.52 ns 176.09 ns]
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
dataset/google_message1_proto2/encoded_len
time: [35.593 ns 35.691 ns 35.849 ns]
Found 13 outliers among 100 measurements (13.00%)
3 (3.00%) high mild
10 (10.00%) high severe
dataset/google_message1_proto3/merge
time: [195.81 ns 195.97 ns 196.17 ns]
Found 5 outliers among 100 measurements (5.00%)
3 (3.00%) high mild
2 (2.00%) high severe
dataset/google_message1_proto3/encode
time: [149.09 ns 149.43 ns 150.11 ns]
Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) low mild
3 (3.00%) high mild
1 (1.00%) high severe
dataset/google_message1_proto3/encoded_len
time: [31.217 ns 31.219 ns 31.222 ns]
Found 19 outliers among 100 measurements (19.00%)
2 (2.00%) high mild
17 (17.00%) high severe
dataset/google_message2/merge
time: [131.28 µs 131.60 µs 132.07 µs]
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high severe
dataset/google_message2/encode
time: [78.549 µs 78.559 µs 78.569 µs]
Found 9 outliers among 100 measurements (9.00%)
4 (4.00%) low mild
2 (2.00%) high mild
3 (3.00%) high severe
dataset/google_message2/encoded_len
time: [12.504 µs 12.505 µs 12.506 µs]
Found 8 outliers among 100 measurements (8.00%)
6 (6.00%) high mild
2 (2.00%) high severe
Running unittests src/lib.rs (target/release/deps/single_include-a099e0703610fc15)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/release/deps/single_include-d9b8093c1f6c89e7)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/release/deps/tests-8a0eeae5aff8d2a7)
running 41 tests
test bootstrap::bootstrap ... ignored
test debug::basic ... ignored
test debug::oneof_with_enum ... ignored
test debug::tuple_struct ... ignored
test deprecated_field::test_warns_when_using_fields_with_deprecated_field ... ignored
test enum_keyword_variant::dummy ... ignored
test extern_paths::test ... ignored
test generic_derive::generic_enum ... ignored
test message_encoding::check_default_values ... ignored
test message_encoding::check_repeated_floats ... ignored
test message_encoding::check_scalar_types ... ignored
test message_encoding::check_tags_inferred ... ignored
test no_root_packages::test ... ignored
test no_unused_results::dummy ... ignored
test packages::test ... ignored
test skip_debug::oneof_with_enum_custom_debug ... ignored
test skip_debug::test_proto_msg_custom_debug ... ignored
test skip_debug::tuple_struct_custom_debug ... ignored
test submessage_without_package::test_submessage_without_package ... ignored
test tests::test_267_regression ... ignored
test tests::test_all_types_proto3 ... ignored
test tests::test_custom_type_attributes ... ignored
test tests::test_deep_nesting ... ignored
test tests::test_deep_nesting_group ... ignored
test tests::test_deep_nesting_map ... ignored
test tests::test_deep_nesting_oneof ... ignored
test tests::test_deep_nesting_repeated ... ignored
test tests::test_default_enum ... ignored
test tests::test_default_string_escape ... ignored
test tests::test_enum_from_string ... ignored
test tests::test_enum_to_string ... ignored
test tests::test_enum_try_from_i32 ... ignored
test tests::test_file_descriptor_set_path ... ignored
test tests::test_group ... ignored
test tests::test_group_oneof ... ignored
test tests::test_ident_conversions ... ignored
test tests::test_nesting ... ignored
test tests::test_proto3_presence ... ignored
test tests::test_recursive_oneof ... ignored
test type_names::valid_type_names ... ignored
test unittest::extreme_default_values ... ignored
test result: ok. 0 passed; 0 failed; 41 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests ../tests/src/lib.rs (target/release/deps/tests_2015-f60ef46a5662cbda)
running 41 tests
test bootstrap::bootstrap ... ignored
test debug::basic ... ignored
test debug::oneof_with_enum ... ignored
test debug::tuple_struct ... ignored
test deprecated_field::test_warns_when_using_fields_with_deprecated_field ... ignored
test enum_keyword_variant::dummy ... ignored
test extern_paths::test ... ignored
test generic_derive::generic_enum ... ignored
test message_encoding::check_default_values ... ignored
test message_encoding::check_repeated_floats ... ignored
test message_encoding::check_scalar_types ... ignored
test message_encoding::check_tags_inferred ... ignored
test no_root_packages::test ... ignored
test no_unused_results::dummy ... ignored
test packages::test ... ignored
test skip_debug::oneof_with_enum_custom_debug ... ignored
test skip_debug::test_proto_msg_custom_debug ... ignored
test skip_debug::tuple_struct_custom_debug ... ignored
test submessage_without_package::test_submessage_without_package ... ignored
test tests::test_267_regression ... ignored
test tests::test_all_types_proto3 ... ignored
test tests::test_custom_type_attributes ... ignored
test tests::test_deep_nesting ... ignored
test tests::test_deep_nesting_group ... ignored
test tests::test_deep_nesting_map ... ignored
test tests::test_deep_nesting_oneof ... ignored
test tests::test_deep_nesting_repeated ... ignored
test tests::test_default_enum ... ignored
test tests::test_default_string_escape ... ignored
test tests::test_enum_from_string ... ignored
test tests::test_enum_to_string ... ignored
test tests::test_enum_try_from_i32 ... ignored
test tests::test_file_descriptor_set_path ... ignored
test tests::test_group ... ignored
test tests::test_group_oneof ... ignored
test tests::test_ident_conversions ... ignored
test tests::test_nesting ... ignored
test tests::test_proto3_presence ... ignored
test tests::test_recursive_oneof ... ignored
test type_names::valid_type_names ... ignored
test unittest::extreme_default_values ... ignored
test result: ok. 0 passed; 0 failed; 41 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests ../tests/src/lib.rs (target/release/deps/tests_no_std-69e158a7c0e4ca71)
running 36 tests
test debug::oneof_with_enum ... ignored
test debug::tuple_struct ... ignored
test deprecated_field::test_warns_when_using_fields_with_deprecated_field ... ignored
test enum_keyword_variant::dummy ... ignored
test extern_paths::test ... ignored
test generic_derive::generic_enum ... ignored
test message_encoding::check_default_values ... ignored
test message_encoding::check_repeated_floats ... ignored
test message_encoding::check_scalar_types ... ignored
test message_encoding::check_tags_inferred ... ignored
test no_root_packages::test ... ignored
test no_unused_results::dummy ... ignored
test packages::test ... ignored
test submessage_without_package::test_submessage_without_package ... ignored
test tests::test_267_regression ... ignored
test tests::test_all_types_proto3 ... ignored
test tests::test_custom_type_attributes ... ignored
test tests::test_deep_nesting ... ignored
test tests::test_deep_nesting_group ... ignored
test tests::test_deep_nesting_map ... ignored
test tests::test_deep_nesting_oneof ... ignored
test tests::test_deep_nesting_repeated ... ignored
test tests::test_default_enum ... ignored
test tests::test_default_string_escape ... ignored
test tests::test_enum_from_string ... ignored
test tests::test_enum_to_string ... ignored
test tests::test_enum_try_from_i32 ... ignored
test tests::test_file_descriptor_set_path ... ignored
test tests::test_group ... ignored
test tests::test_group_oneof ... ignored
test tests::test_ident_conversions ... ignored
test tests::test_nesting ... ignored
test tests::test_proto3_presence ... ignored
test tests::test_recursive_oneof ... ignored
test type_names::valid_type_names ... ignored
test unittest::extreme_default_values ... ignored
test result: ok. 0 passed; 0 failed; 36 ignored; 0 measured; 0 filtered out; finished in 0.00s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment