Created
July 1, 2025 19:47
-
-
Save zamazan4ik/006be86c3e6d4b0ae5f0678a2ab00531 to your computer and use it in GitHub Desktop.
flecs benchmark: PGO-optimized
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.76ns | | |
| | has_not_found | 0.74ns | | |
| | has | 0.75ns | | |
| | owns_not_found | 0.64ns | | |
| | owns | 0.64ns | | |
| | get_id_not_found | 0.64ns | | |
| | get | 0.64ns | | |
| | get_pair | 2.44ns | | |
| | get_inherited_depth_1 | 19.15ns | | |
| | get_inherited_depth_2 | 28.85ns | | |
| | get_inherited_depth_16 | 180.16ns | | |
| | get_mut_not_found | 0.48ns | | |
| | get_mut | 0.49ns | | |
| | get_mut_sparse | 1.48ns | | |
| | get_mut_dont_fragment | 1.48ns | | |
| | get_sparse_not_found | 0.42ns | | |
| | get_sparse | 1.24ns | | |
| | get_target_not_found | 2.76ns | | |
| | get_target | 5.84ns | | |
| | get_target_dont_fragment | 4.82ns | | |
| | get_target_dont_fragment_exclusive | 4.54ns | | |
| | get_parent_not_found | 1.57ns | | |
| | get_parent | 1.36ns | | |
| | add_remove_1_tags | 15.34ns | | |
| | add_remove_2_tags | 15.62ns | | |
| | add_remove_16_tags | 15.76ns | | |
| | add_remove_32_tags | 17.96ns | | |
| | ensure | 5.57ns | | |
| | set_id | 12.71ns | | |
| | ensure_remove | 20.02ns | | |
| | ensure_remove_16 | 59.65ns | | |
| | ensure_remove_32 | 97.67ns | | |
| | ref_init | 1.75ns | | |
| | ref_get | 0.47ns | | |
| | add_remove_cmd_1_tag | 22.49ns | | |
| | add_remove_cmd_2_tags | 19.85ns | | |
| | add_remove_cmd_16_tags | 13.69ns | | |
| | add_remove_cmd_32_tags | 14.08ns | | |
| | add_remove_cmd_1_components | 23.06ns | | |
| | add_remove_cmd_2_components | 20.05ns | | |
| | add_remove_cmd_16_components | 13.89ns | | |
| | add_remove_cmd_32_components | 14.81ns | | |
| | ensure_cmd_1 | 15.43ns | | |
| | ensure_cmd_2 | 15.70ns | | |
| | ensure_cmd_16 | 13.58ns | | |
| | ensure_cmd_32 | 13.66ns | | |
| | set_cmd_1 | 27.56ns | | |
| | set_cmd_2 | 26.09ns | | |
| | set_cmd_16 | 25.04ns | | |
| | set_cmd_32 | 26.62ns | | |
| | ensure_remove_cmd_1 | 32.68ns | | |
| | ensure_remove_cmd_2 | 28.00ns | | |
| | ensure_remove_cmd_16 | 23.85ns | | |
| | ensure_remove_cmd_32 | 26.12ns | | |
| | create_100_w_add_in_observer | 89.39ns | | |
| | create_1k_w_add_in_observer | 90.36ns | | |
| | create_10k_w_add_in_observer | 90.34ns | | |
| | create_50k_w_add_in_observer | 90.44ns | | |
| | create_delete_empty | 8.06ns | | |
| | create_delete_1_tag | 8.30ns | | |
| | create_delete_2_tags | 9.86ns | | |
| | create_delete_16_tags | 14.27ns | | |
| | create_delete_1_component | 8.26ns | | |
| | create_delete_2_components | 10.34ns | | |
| | create_delete_16_components | 39.56ns | | |
| | entity_init_delete | 16.32us | | |
| | entity_init_w_name_delete | 16.31us | | |
| | create_children_w_reachable | 627.18ns | | |
| | create_delete_tree_w1_d1 | 402.67ns | | |
| | create_delete_tree_w1_d10 | 4.34us | | |
| | create_delete_tree_w1_d100 | 45.72us | | |
| | create_delete_tree_w10_d1 | 56.77ns | | |
| | create_delete_tree_w10_d10 | 637.20ns | | |
| | create_delete_tree_w10_d100 | 6.59us | | |
| | create_delete_tree_w100_d1 | 19.36ns | | |
| | create_delete_tree_w100_d10 | 216.47ns | | |
| | create_delete_tree_w100_d100 | 2.25us | | |
| | instantiate_delete_tree_w0_d0 | 69.86ns | | |
| | instantiate_delete_tree_w1_d1 | 380.93ns | | |
| | instantiate_delete_tree_w5_d1 | 840.89ns | | |
| | instantiate_delete_tree_w10_d1 | 2.52us | | |
| | instantiate_delete_tree_w50_d1 | 2.51us | | |
| | instantiate_delete_tree_w1_d2 | 720.02ns | | |
| | instantiate_delete_tree_w5_d2 | 2.70us | | |
| | instantiate_delete_tree_w10_d2 | 5.19us | | |
| | instantiate_delete_tree_w50_d2 | 5.19us | | |
| | change_parent | 18.77ns | | |
| | change_parent_root | 18.41ns | | |
| | change_parent_w_name | 88.66ns | | |
| | lookup_depth_0 | 37.73ns | | |
| | lookup_depth_1 | 65.91ns | | |
| | lookup_depth_10 | 337.36ns | | |
| | lookup_depth_100 | 3.48us | | |
| | set_name | 75.76ns | | |
| | emit_0_observers | 19.26ns | | |
| | emit_1_observer | 31.76ns | | |
| | emit_10_observers | 62.37ns | | |
| | emit_50_observers | 200.92ns | | |
| | emit_multi_2_100_observers | 1.85us | | |
| | emit_multi_4_100_observers | 882.19ns | | |
| | emit_multi_8_100_observers | 562.39ns | | |
| | emit_propagate_depth_1 | 25.27ns | | |
| | emit_propagate_depth_10 | 268.10ns | | |
| | emit_propagate_depth_100 | 3.03us | | |
| | emit_forward_1_ids_depth_1 | 137.46ns | | |
| | emit_forward_1_ids_depth_1000 | 134.16ns | | |
| | emit_forward_16_ids_depth_1 | 818.84ns | | |
| | emit_forward_16_ids_depth_1000 | 825.68ns | | |
| | modified_0_observers | 6.47ns | | |
| | modified_1_observer | 34.03ns | | |
| | modified_10_observers | 64.37ns | | |
| | modified_100_observers | 392.62ns | | |
| | uncach_init_fini_1_ids | 48.21ns | | |
| | uncach_init_fini_4_ids | 71.85ns | | |
| | uncach_init_fini_8_ids | 106.27ns | | |
| | uncach_init_fini_16_ids | 169.28ns | | |
| | uncach_6_tags_1_term | 2.72us | | |
| | uncach_6_tags_4_terms | 438.59ns | | |
| | uncach_10_tags_1_term | 12.76us | | |
| | uncach_10_tags_4_terms | 3.32us | | |
| | uncach_10_tags_8_terms | 2.12us | | |
| | uncach_6_comps_1_term | 2.79us | | |
| | uncach_6_comps_4_terms | 480.87ns | | |
| | uncach_10_comps_1_term | 14.85us | | |
| | uncach_10_comps_4_terms | 4.74us | | |
| | uncach_10_comps_8_terms | 2.18us | | |
| | uncach_10_sparse_tags_4_terms | 16.91us | | |
| | uncach_10_sparse_comps_4_terms | 70.65us | | |
| | uncach_10_nofrag_tags_4_terms | 1.30ms | | |
| | uncach_10_nofrag_comps_4_terms | 1.35ms | | |
| | uncach_255_empty_1_fill | 594.62ns | | |
| | uncach_1023_empty_1_fill | 3.10us | | |
| | uncach_up_tags | 4.25ms | | |
| | uncach_up_tags_w_self | 6.61ms | | |
| | uncach_up_w_mut_8_tags | 1.67ms | | |
| | uncach_up_w_mut_8_tags_w_self | 1.17ms | | |
| | uncach_w_vars | 1.22ms | | |
| | uncach_w_singleton | 366.06ns | | |
| | uncach_w_not | 617.40ns | | |
| | uncach_w_optional | 938.81ns | | |
| | uncach_inherit_depth_1_tables_1 | 5.12us | | |
| | uncach_inherit_depth_1_tables_1024 | 40.37us | | |
| | uncach_inherit_depth_2_tables_1 | 5.21us | | |
| | uncach_inherit_depth_2_tables_1024 | 40.41us | | |
| | uncach_inherit_depth_8_tables_1 | 5.48us | | |
| | uncach_inherit_depth_8_tables_1024 | 40.36us | | |
| | uncach_inherit_depth_16_tables_1 | 5.75us | | |
| | uncach_inherit_depth_16_tables_1024 | 40.82us | | |
| | cached_init_fini_1_ids | 369.08ns | | |
| | cached_init_fini_4_ids | 604.94ns | | |
| | cached_init_fini_8_ids | 746.04ns | | |
| | cached_init_fini_16_ids | 1.02us | | |
| | cached_6_tags_1_term | 2.63us | | |
| | cached_6_tags_4_terms | 298.03ns | | |
| | cached_8_tags_1_term | 3.93us | | |
| | cached_8_tags_4_terms | 436.46ns | | |
| | cached_10_tags_1_term | 7.60us | | |
| | cached_10_tags_4_terms | 823.30ns | | |
| | cached_10_tags_8_terms | 54.35ns | | |
| | cached_16_tags_1_term | 209.91us | | |
| | cached_16_tags_4_terms | 27.47us | | |
| | cached_16_tags_8_terms | 615.11ns | | |
| | cached_6_components_1_term | 2.73us | | |
| | cached_6_components_4_terms | 370.82ns | | |
| | cached_8_components_1_term | 4.44us | | |
| | cached_8_components_4_terms | 471.33ns | | |
| | cached_10_components_1_term | 8.05us | | |
| | cached_10_components_4_terms | 905.12ns | | |
| | cached_10_components_8_terms | 63.59ns | | |
| | cached_16_components_1_term | 232.55us | | |
| | cached_16_components_4_terms | 34.74us | | |
| | cached_16_components_8_terms | 1.42us | | |
| | cached_6_read_1_term | 3.83us | | |
| | cached_6_read_4_terms | 787.42ns | | |
| | cached_8_read_1_term | 6.54us | | |
| | cached_8_read_4_terms | 1.04us | | |
| | cached_10_read_1_term | 11.32us | | |
| | cached_10_read_4_terms | 1.71us | | |
| | cached_10_read_8_terms | 131.56ns | | |
| | cached_16_read_1_term | 248.18us | | |
| | cached_16_read_4_terms | 41.56us | | |
| | cached_16_read_8_terms | 1.59us | | |
| | cached_10_sparse_4_terms | 71.28us | | |
| | cached_10_nofrag_4_terms | 1.37ms | | |
| | cached_255_empty_1_fill | 204.44ns | | |
| | cached_1023_empty_1_fill | 864.89ns | | |
| | cached_up_tags | 573.09us | | |
| | cached_up_tags_w_self | 403.62us | | |
| | cached_w_vars | 1.31ms | | |
| | cached_w_singleton | 308.52ns | | |
| | cached_w_not | 72.19ns | | |
| | cached_w_optional | 313.62ns | | |
| | cached_cantoggle_no_toggle_1_term | 119.33ns | | |
| | cached_cantoggle_no_toggle_4_terms | 100.50ns | | |
| | cached_cantoggle_no_toggle_8_terms | 132.12ns | | |
| | cached_cantoggle_half_toggle_1_term | 396.75ns | | |
| | cached_cantoggle_half_toggle_4_terms | 501.61ns | | |
| | cached_cantoggle_half_toggle_8_terms | 748.00ns | | |
| | cached_cantoggle_alt_toggle_1_term | 7.64us | | |
| | cached_cantoggle_alt_toggle_4_terms | 7.76us | | |
| | cached_cantoggle_alt_toggle_8_terms | 8.69us | | |
| | query_transform | 949.18us | | |
| | query_depth_first | 8.49ms | | |
| | match_1_of_100_queries_1_term | 1.26us | | |
| | match_10_of_100_queries_1_term | 1.65us | | |
| | match_100_of_100_queries_1_term | 6.09us | | |
| | match_1_of_100_queries_4_terms | 1.25us | | |
| | match_10_of_100_queries_4_terms | 1.77us | | |
| | match_100_of_100_queries_4_terms | 7.02us | | |
| | match_1_of_100_queries_8_terms | 1.34us | | |
| | match_10_of_100_queries_8_terms | 1.94us | | |
| | match_100_of_100_queries_8_terms | 8.61us | | |
| | rematch_1_of_1000_tables | 4.24us | | |
| | rematch_10_of_1000_tables | 4.23us | | |
| | rematch_100_of_1000_tables | 3.94us | | |
| | rematch_1000_of_1000_tables | 2.23us | | |
| | world_mini_fini | 106.13us | | |
| | world_init_fini | 896.60us | | |
| | progress_0_tasks | 178.81ns | | |
| | progress_1_tasks | 276.25ns | | |
| | progress_10_tasks | 503.29ns | | |
| | progress_100_tasks | 3.09us | | |
| | progress_0_systems | 170.10ns | | |
| | progress_1_systems | 512.74ns | | |
| | progress_10_systems | 3.25us | | |
| | progress_100_systems | 31.69us | | |
| | create_delete_table_1_id | 129.71ns | | |
| | create_delete_table_10_ids | 215.19ns | | |
| | create_delete_table_100_ids | 1.18us | | |
| | create_delete_table_1000_ids | 13.20us | | |
| | cleanup_tables_0_empty | 605.06us | | |
| | cleanup_tables_half_empty | 2.62ms | | |
| | cleanup_tables_all_empty | 4.68ms | | |
| | cleanup_tables_0_empty_w_budget | 462.84us | | |
| | cleanup_tables_half_empty_w_budget | 3.13ms | | |
| | cleanup_tables_all_empty_w_budget | 6.14ms | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment