Created
July 1, 2025 19:39
-
-
Save zamazan4ik/87d2bc1b86a91dc591b9d002a948053c to your computer and use it in GitHub Desktop.
flecs benchmark: release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Benchmark | Measurement | | |
|---------------------------------------|--------------| | |
| baseline | 0.78ns | | |
| has_not_found | 0.85ns | | |
| has | 0.86ns | | |
| owns_not_found | 0.64ns | | |
| owns | 0.65ns | | |
| get_id_not_found | 0.65ns | | |
| get | 0.65ns | | |
| get_pair | 2.78ns | | |
| get_inherited_depth_1 | 19.42ns | | |
| get_inherited_depth_2 | 29.26ns | | |
| get_inherited_depth_16 | 178.15ns | | |
| get_mut_not_found | 0.64ns | | |
| get_mut | 0.64ns | | |
| get_mut_sparse | 1.70ns | | |
| get_mut_dont_fragment | 1.70ns | | |
| get_sparse_not_found | 0.17ns | | |
| get_sparse | 0.18ns | | |
| get_target_not_found | 3.18ns | | |
| get_target | 6.20ns | | |
| get_target_dont_fragment | 5.32ns | | |
| get_target_dont_fragment_exclusive | 5.30ns | | |
| get_parent_not_found | 1.53ns | | |
| get_parent | 1.40ns | | |
| add_remove_1_tags | 23.40ns | | |
| add_remove_2_tags | 23.11ns | | |
| add_remove_16_tags | 23.03ns | | |
| add_remove_32_tags | 25.20ns | | |
| ensure | 6.49ns | | |
| set_id | 12.96ns | | |
| ensure_remove | 27.11ns | | |
| ensure_remove_16 | 71.43ns | | |
| ensure_remove_32 | 110.81ns | | |
| ref_init | 2.13ns | | |
| ref_get | 0.48ns | | |
| add_remove_cmd_1_tag | 32.07ns | | |
| add_remove_cmd_2_tags | 29.30ns | | |
| add_remove_cmd_16_tags | 21.48ns | | |
| add_remove_cmd_32_tags | 21.08ns | | |
| add_remove_cmd_1_components | 33.69ns | | |
| add_remove_cmd_2_components | 29.49ns | | |
| add_remove_cmd_16_components | 22.10ns | | |
| add_remove_cmd_32_components | 21.25ns | | |
| ensure_cmd_1 | 19.90ns | | |
| ensure_cmd_2 | 21.75ns | | |
| ensure_cmd_16 | 19.60ns | | |
| ensure_cmd_32 | 19.56ns | | |
| set_cmd_1 | 32.62ns | | |
| set_cmd_2 | 34.29ns | | |
| set_cmd_16 | 32.81ns | | |
| set_cmd_32 | 33.87ns | | |
| ensure_remove_cmd_1 | 40.36ns | | |
| ensure_remove_cmd_2 | 35.53ns | | |
| ensure_remove_cmd_16 | 30.69ns | | |
| ensure_remove_cmd_32 | 31.67ns | | |
| create_100_w_add_in_observer | 129.45ns | | |
| create_1k_w_add_in_observer | 128.92ns | | |
| create_10k_w_add_in_observer | 131.03ns | | |
| create_50k_w_add_in_observer | 129.88ns | | |
| create_delete_empty | 9.54ns | | |
| create_delete_1_tag | 14.26ns | | |
| create_delete_2_tags | 16.74ns | | |
| create_delete_16_tags | 21.27ns | | |
| create_delete_1_component | 14.44ns | | |
| create_delete_2_components | 17.31ns | | |
| create_delete_16_components | 51.37ns | | |
| entity_init_delete | 23.03us | | |
| entity_init_w_name_delete | 23.09us | | |
| create_children_w_reachable | 760.09ns | | |
| create_delete_tree_w1_d1 | 594.38ns | | |
| create_delete_tree_w1_d10 | 5.65us | | |
| create_delete_tree_w1_d100 | 58.12us | | |
| create_delete_tree_w10_d1 | 86.18ns | | |
| create_delete_tree_w10_d10 | 857.06ns | | |
| create_delete_tree_w10_d100 | 8.57us | | |
| create_delete_tree_w100_d1 | 29.01ns | | |
| create_delete_tree_w100_d10 | 298.04ns | | |
| create_delete_tree_w100_d100 | 3.05us | | |
| instantiate_delete_tree_w0_d0 | 94.00ns | | |
| instantiate_delete_tree_w1_d1 | 516.70ns | | |
| instantiate_delete_tree_w5_d1 | 1.10us | | |
| instantiate_delete_tree_w10_d1 | 3.16us | | |
| instantiate_delete_tree_w50_d1 | 3.19us | | |
| instantiate_delete_tree_w1_d2 | 949.72ns | | |
| instantiate_delete_tree_w5_d2 | 3.44us | | |
| instantiate_delete_tree_w10_d2 | 6.40us | | |
| instantiate_delete_tree_w50_d2 | 6.42us | | |
| change_parent | 29.13ns | | |
| change_parent_root | 27.73ns | | |
| change_parent_w_name | 104.42ns | | |
| lookup_depth_0 | 42.93ns | | |
| lookup_depth_1 | 73.38ns | | |
| lookup_depth_10 | 376.48ns | | |
| lookup_depth_100 | 3.75us | | |
| set_name | 82.26ns | | |
| emit_0_observers | 20.72ns | | |
| emit_1_observer | 39.72ns | | |
| emit_10_observers | 80.31ns | | |
| emit_50_observers | 279.17ns | | |
| emit_multi_2_100_observers | 2.21us | | |
| emit_multi_4_100_observers | 1.03us | | |
| emit_multi_8_100_observers | 645.48ns | | |
| emit_propagate_depth_1 | 33.86ns | | |
| emit_propagate_depth_10 | 224.72ns | | |
| emit_propagate_depth_100 | 2.30us | | |
| emit_forward_1_ids_depth_1 | 183.05ns | | |
| emit_forward_1_ids_depth_1000 | 188.57ns | | |
| emit_forward_16_ids_depth_1 | 867.85ns | | |
| emit_forward_16_ids_depth_1000 | 899.10ns | | |
| modified_0_observers | 8.30ns | | |
| modified_1_observer | 45.66ns | | |
| modified_10_observers | 86.68ns | | |
| modified_100_observers | 548.21ns | | |
| uncach_init_fini_1_ids | 55.79ns | | |
| uncach_init_fini_4_ids | 80.65ns | | |
| uncach_init_fini_8_ids | 113.70ns | | |
| uncach_init_fini_16_ids | 180.87ns | | |
| uncach_6_tags_1_term | 2.91us | | |
| uncach_6_tags_4_terms | 466.65ns | | |
| uncach_10_tags_1_term | 12.40us | | |
| uncach_10_tags_4_terms | 3.38us | | |
| uncach_10_tags_8_terms | 2.13us | | |
| uncach_6_comps_1_term | 3.00us | | |
| uncach_6_comps_4_terms | 484.77ns | | |
| uncach_10_comps_1_term | 14.39us | | |
| uncach_10_comps_4_terms | 4.26us | | |
| uncach_10_comps_8_terms | 2.18us | | |
| uncach_10_sparse_tags_4_terms | 23.85us | | |
| uncach_10_sparse_comps_4_terms | 85.12us | | |
| uncach_10_nofrag_tags_4_terms | 1.59ms | | |
| uncach_10_nofrag_comps_4_terms | 1.66ms | | |
| uncach_255_empty_1_fill | 608.06ns | | |
| uncach_1023_empty_1_fill | 2.94us | | |
| uncach_up_tags | 3.35ms | | |
| uncach_up_tags_w_self | 6.44ms | | |
| uncach_up_w_mut_8_tags | 1.56ms | | |
| uncach_up_w_mut_8_tags_w_self | 1.18ms | | |
| uncach_w_vars | 1.33ms | | |
| uncach_w_singleton | 377.15ns | | |
| uncach_w_not | 662.64ns | | |
| uncach_w_optional | 1.00us | | |
| uncach_inherit_depth_1_tables_1 | 5.13us | | |
| uncach_inherit_depth_1_tables_1024 | 41.86us | | |
| uncach_inherit_depth_2_tables_1 | 5.15us | | |
| uncach_inherit_depth_2_tables_1024 | 42.19us | | |
| uncach_inherit_depth_8_tables_1 | 5.49us | | |
| uncach_inherit_depth_8_tables_1024 | 41.47us | | |
| uncach_inherit_depth_16_tables_1 | 6.02us | | |
| uncach_inherit_depth_16_tables_1024 | 43.80us | | |
| cached_init_fini_1_ids | 490.94ns | | |
| cached_init_fini_4_ids | 732.81ns | | |
| cached_init_fini_8_ids | 875.67ns | | |
| cached_init_fini_16_ids | 1.16us | | |
| cached_6_tags_1_term | 2.79us | | |
| cached_6_tags_4_terms | 303.68ns | | |
| cached_8_tags_1_term | 4.03us | | |
| cached_8_tags_4_terms | 449.62ns | | |
| cached_10_tags_1_term | 8.55us | | |
| cached_10_tags_4_terms | 892.84ns | | |
| cached_10_tags_8_terms | 63.50ns | | |
| cached_16_tags_1_term | 230.04us | | |
| cached_16_tags_4_terms | 32.65us | | |
| cached_16_tags_8_terms | 700.42ns | | |
| cached_6_components_1_term | 3.00us | | |
| cached_6_components_4_terms | 325.57ns | | |
| cached_8_components_1_term | 4.64us | | |
| cached_8_components_4_terms | 494.37ns | | |
| cached_10_components_1_term | 9.85us | | |
| cached_10_components_4_terms | 955.46ns | | |
| cached_10_components_8_terms | 73.29ns | | |
| cached_16_components_1_term | 274.29us | | |
| cached_16_components_4_terms | 40.15us | | |
| cached_16_components_8_terms | 1.65us | | |
| cached_6_read_1_term | 4.32us | | |
| cached_6_read_4_terms | 796.55ns | | |
| cached_8_read_1_term | 7.15us | | |
| cached_8_read_4_terms | 1.04us | | |
| cached_10_read_1_term | 12.27us | | |
| cached_10_read_4_terms | 1.75us | | |
| cached_10_read_8_terms | 141.98ns | | |
| cached_16_read_1_term | 250.61us | | |
| cached_16_read_4_terms | 43.55us | | |
| cached_16_read_8_terms | 1.79us | | |
| cached_10_sparse_4_terms | 92.76us | | |
| cached_10_nofrag_4_terms | 1.69ms | | |
| cached_255_empty_1_fill | 206.82ns | | |
| cached_1023_empty_1_fill | 874.67ns | | |
| cached_up_tags | 597.62us | | |
| cached_up_tags_w_self | 466.32us | | |
| cached_w_vars | 1.38ms | | |
| cached_w_singleton | 316.87ns | | |
| cached_w_not | 74.14ns | | |
| cached_w_optional | 325.48ns | | |
| cached_cantoggle_no_toggle_1_term | 126.48ns | | |
| cached_cantoggle_no_toggle_4_terms | 111.24ns | | |
| cached_cantoggle_no_toggle_8_terms | 137.92ns | | |
| cached_cantoggle_half_toggle_1_term | 398.19ns | | |
| cached_cantoggle_half_toggle_4_terms | 500.15ns | | |
| cached_cantoggle_half_toggle_8_terms | 729.69ns | | |
| cached_cantoggle_alt_toggle_1_term | 8.63us | | |
| cached_cantoggle_alt_toggle_4_terms | 8.80us | | |
| cached_cantoggle_alt_toggle_8_terms | 9.02us | | |
| query_transform | 1.19ms | | |
| query_depth_first | 8.45ms | | |
| match_1_of_100_queries_1_term | 1.47us | | |
| match_10_of_100_queries_1_term | 1.98us | | |
| match_100_of_100_queries_1_term | 6.87us | | |
| match_1_of_100_queries_4_terms | 1.51us | | |
| match_10_of_100_queries_4_terms | 2.09us | | |
| match_100_of_100_queries_4_terms | 7.94us | | |
| match_1_of_100_queries_8_terms | 1.63us | | |
| match_10_of_100_queries_8_terms | 2.31us | | |
| match_100_of_100_queries_8_terms | 9.27us | | |
| rematch_1_of_1000_tables | 4.24us | | |
| rematch_10_of_1000_tables | 4.22us | | |
| rematch_100_of_1000_tables | 3.98us | | |
| rematch_1000_of_1000_tables | 2.25us | | |
| world_mini_fini | 128.60us | | |
| world_init_fini | 1.03ms | | |
| progress_0_tasks | 193.11ns | | |
| progress_1_tasks | 298.93ns | | |
| progress_10_tasks | 564.33ns | | |
| progress_100_tasks | 3.46us | | |
| progress_0_systems | 192.10ns | | |
| progress_1_systems | 767.77ns | | |
| progress_10_systems | 5.21us | | |
| progress_100_systems | 52.11us | | |
| create_delete_table_1_id | 193.27ns | | |
| create_delete_table_10_ids | 308.65ns | | |
| create_delete_table_100_ids | 1.54us | | |
| create_delete_table_1000_ids | 17.24us | | |
| cleanup_tables_0_empty | 644.09us | | |
| cleanup_tables_half_empty | 2.72ms | | |
| cleanup_tables_all_empty | 5.23ms | | |
| cleanup_tables_0_empty_w_budget | 605.11us | | |
| cleanup_tables_half_empty_w_budget | 3.18ms | | |
| cleanup_tables_all_empty_w_budget | 6.06ms | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment