diff --git a/dev/bench/data.js b/dev/bench/data.js index 4f92b34a9..8929eab78 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1734364669905, + "lastUpdate": 1734456606837, "repoUrl": "https://github.com/Pometry/Raphtory", "entries": { "Rust Benchmark": [ @@ -126562,6 +126562,780 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "ricopinazo@gmail.com", + "name": "Pedro Rico Pinazo", + "username": "ricopinazo" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "f00e7a8bdfc988c904f94913901b94ab8f40cdaa", + "message": "Document template fixes (#1894)\n\n* fix unbounded document templates\r\n\r\n* fix subgraph bug\r\n\r\n* fix float bug in graphql\r\n\r\n* update graph template and add a test for it\r\n\r\n* update python vector API\r\n\r\n* run cargo fmt\r\n\r\n* update docstring for graph.vectorise()\r\n\r\n* add test for default template in python\r\n\r\n* rename props to properties in the template\r\n\r\n* rename props to properties for add_constant_properties\r\n\r\n* remove dbg point in data.rs\r\n\r\n* update server vector API and fix python test\r\n\r\n* rename ConstProps to ConstProperties\r\n\r\n* rename ConstProperties in the docs\r\n\r\n* add a test to confirm the fix for the subgraph bug", + "timestamp": "2024-12-17T18:01:45+01:00", + "tree_id": "8666af668dd541d095fd373fb0315f194d392e96", + "url": "https://github.com/Pometry/Raphtory/commit/f00e7a8bdfc988c904f94913901b94ab8f40cdaa" + }, + "date": 1734456604478, + "tool": "cargo", + "benches": [ + { + "name": "local_triangle_count/local_triangle_count", + "value": 831040, + "range": "± 9138", + "unit": "ns/iter" + }, + { + "name": "local_clustering_coefficient/local_clustering_coefficient", + "value": 89888, + "range": "± 563", + "unit": "ns/iter" + }, + { + "name": "graphgen_large_clustering_coeff/graphgen_large_clustering_coeff/Graph(num_nodes=500004, num_edges=20...", + "value": 2039764085, + "range": "± 20773743", + "unit": "ns/iter" + }, + { + "name": "graphgen_large_pagerank/graphgen_large_pagerank/Graph(num_nodes=500004, num_edges=2000000)", + "value": 215290055, + "range": "± 2385810", + "unit": "ns/iter" + }, + { + "name": "graphgen_large_concomp/graphgen_large_concomp/Graph(num_nodes=500004, num_edges=2000000)", + "value": 2091156651, + "range": "± 28621884", + "unit": "ns/iter" + }, + { + "name": "temporal_motifs/temporal_motifs", + "value": 23036044, + "range": "± 101578", + "unit": "ns/iter" + }, + { + "name": "large/1k fixed edge updates with varying time", + "value": 266251, + "range": "± 6321", + "unit": "ns/iter" + }, + { + "name": "large/1k fixed edge updates with varying time and numeric string input", + "value": 280159, + "range": "± 1673", + "unit": "ns/iter" + }, + { + "name": "large/1k fixed edge updates with varying time and string input", + "value": 299178, + "range": "± 580", + "unit": "ns/iter" + }, + { + "name": "large/1k random edge additions", + "value": 369570, + "range": "± 42902", + "unit": "ns/iter" + }, + { + "name": "large/1k random edge additions with numeric string input", + "value": 636802, + "range": "± 39978", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/num_edges", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/num_edges_temporal", + "value": 21622, + "range": "± 2049", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/has_edge_existing", + "value": 53, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/has_edge_nonexisting", + "value": 42, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/active edge", + "value": 222, + "range": "± 9", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/edge has layer", + "value": 47, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/num_nodes", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/has_node_existing", + "value": 13, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/has_node_nonexisting", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/max_id", + "value": 23076, + "range": "± 929", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/max_degree", + "value": 26841, + "range": "± 1642", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/iterate nodes", + "value": 3084, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/iterate edges", + "value": 30267, + "range": "± 90", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/iterate_exploded_edges", + "value": 326557, + "range": "± 1265", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/max_neighbour_degree", + "value": 17015, + "range": "± 372", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_materialise/materialize", + "value": 846278, + "range": "± 6005", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/num_edges", + "value": 25919, + "range": "± 1219", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/num_edges_temporal", + "value": 37685, + "range": "± 1510", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/has_edge_existing", + "value": 77, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/has_edge_nonexisting", + "value": 45, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/active edge", + "value": 240, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/edge has layer", + "value": 46, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/num_nodes", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/has_node_existing", + "value": 20, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/has_node_nonexisting", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/max_id", + "value": 23920, + "range": "± 593", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/max_degree", + "value": 85938, + "range": "± 1990", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/iterate nodes", + "value": 3116, + "range": "± 17", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/iterate edges", + "value": 51255, + "range": "± 387", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/iterate_exploded_edges", + "value": 413926, + "range": "± 2519", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100/max_neighbour_degree", + "value": 93174, + "range": "± 781", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_100_materialise/materialize", + "value": 1009277, + "range": "± 22973", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/num_edges", + "value": 25910, + "range": "± 1040", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/num_edges_temporal", + "value": 34205, + "range": "± 1040", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/has_edge_existing", + "value": 76, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/has_edge_nonexisting", + "value": 44, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/active edge", + "value": 241, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/edge has layer", + "value": 46, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/num_nodes", + "value": 15681, + "range": "± 901", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/has_node_existing", + "value": 42, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/has_node_nonexisting", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/max_id", + "value": 22573, + "range": "± 2112", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/max_degree", + "value": 64505, + "range": "± 1068", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/iterate nodes", + "value": 4004, + "range": "± 47", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/iterate edges", + "value": 27865, + "range": "± 135", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/iterate_exploded_edges", + "value": 146334, + "range": "± 579", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10/max_neighbour_degree", + "value": 58344, + "range": "± 1092", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_10_materialise/materialize", + "value": 557273, + "range": "± 3540", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/num_edges", + "value": 20688, + "range": "± 565", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/num_edges_temporal", + "value": 20884, + "range": "± 523", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/has_edge_existing", + "value": 70, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/has_edge_nonexisting", + "value": 43, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/active edge", + "value": 297, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/edge has layer", + "value": 47, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/num_nodes", + "value": 9, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/has_node_existing", + "value": 18, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/has_node_nonexisting", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/max_id", + "value": 13882, + "range": "± 1100", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/max_degree", + "value": 21078, + "range": "± 675", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/iterate nodes", + "value": 928, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/iterate edges", + "value": 4460, + "range": "± 25", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/iterate_exploded_edges", + "value": 16028, + "range": "± 101", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc/max_neighbour_degree", + "value": 13385, + "range": "± 61", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_materialise/materialize", + "value": 183451, + "range": "± 224", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/num_edges", + "value": 21267, + "range": "± 551", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/num_edges_temporal", + "value": 21651, + "range": "± 879", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/has_edge_existing", + "value": 91, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/has_edge_nonexisting", + "value": 43, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/active edge", + "value": 295, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/edge has layer", + "value": 49, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/num_nodes", + "value": 11826, + "range": "± 901", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/has_node_existing", + "value": 44, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/has_node_nonexisting", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/max_id", + "value": 13958, + "range": "± 703", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/max_degree", + "value": 20038, + "range": "± 1011", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/iterate nodes", + "value": 1033, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/iterate edges", + "value": 6543, + "range": "± 16", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/iterate_exploded_edges", + "value": 10934, + "range": "± 155", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed/max_neighbour_degree", + "value": 9085, + "range": "± 41", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_subgraph_10pc_windowed_materialise/materialize", + "value": 178100, + "range": "± 1749", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/num_edges", + "value": 29512, + "range": "± 407", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/num_edges_temporal", + "value": 126160, + "range": "± 714", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/has_edge_existing", + "value": 83, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/has_edge_nonexisting", + "value": 67, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/active edge", + "value": 470, + "range": "± 48", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/edge has layer", + "value": 536, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/num_nodes", + "value": 15691, + "range": "± 272", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/has_node_existing", + "value": 38, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/has_node_nonexisting", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/max_id", + "value": 23111, + "range": "± 439", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/max_degree", + "value": 179347, + "range": "± 2950", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/iterate nodes", + "value": 5936, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/iterate edges", + "value": 47180, + "range": "± 267", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/iterate_exploded_edges", + "value": 1186782, + "range": "± 1304", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered/max_neighbour_degree", + "value": 247162, + "range": "± 391", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_window_50_layered_materialise/materialize", + "value": 1776697, + "range": "± 12125", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/num_edges", + "value": 44881, + "range": "± 158", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/num_edges_temporal", + "value": 168835, + "range": "± 635", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/has_edge_existing", + "value": 91, + "range": "± 22", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/has_edge_nonexisting", + "value": 60, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/active edge", + "value": 532, + "range": "± 205", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/edge has layer", + "value": 530, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/num_nodes", + "value": 14578, + "range": "± 680", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/has_node_existing", + "value": 24, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/has_node_nonexisting", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/max_id", + "value": 23691, + "range": "± 388", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/max_degree", + "value": 242619, + "range": "± 542", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/iterate nodes", + "value": 6816, + "range": "± 17", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/iterate edges", + "value": 71050, + "range": "± 145", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/iterate_exploded_edges", + "value": 1731762, + "range": "± 3874", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered/max_neighbour_degree", + "value": 299337, + "range": "± 364", + "unit": "ns/iter" + }, + { + "name": "lotr_graph_persistent_window_50_layered_materialise/materialize", + "value": 2696961, + "range": "± 10775", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/proto_decode", + "value": 1134286, + "range": "± 12212", + "unit": "ns/iter" + }, + { + "name": "lotr_graph/proto_encode", + "value": 744888, + "range": "± 6999", + "unit": "ns/iter" + } + ] } ] }