From 676422942fd3b09ab3f5d6185e23e1bbcd0f6193 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sat, 13 Jan 2024 03:56:49 +0000 Subject: [PATCH] add Rust Benchmark (cargo) benchmark result for b545cf5dc7ba3304b1206b315ab421e84256815c --- dev/bench/data.js | 236 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 235 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index 928225ba79..8e23039ddc 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1703096437428, + "lastUpdate": 1705118209595, "repoUrl": "https://github.com/osohq/oso", "entries": { "Rust Benchmark": [ @@ -182778,6 +182778,240 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "jdeffenbaugh@me.com", + "name": "Jayme Deffenbaugh", + "username": "jdeff" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "b545cf5dc7ba3304b1206b315ab421e84256815c", + "message": "Include an arm64 shared library in the ruby gem (#1733)\n\n* Update nokogiri to version with support for apple silicon\r\n\r\n* Update gem dependencies to address spec failures running with Ruby 3\r\n\r\n* Require ActiveRecordAdapter from spec that uses it\r\n\r\n* Add support for both x86_64 and arm64 linux architectures\r\n\r\n* Build both x86 and arm dynamic libraries for ruby\r\n\r\n* Use Ruby 2.6 as minimum tested version and 3.2 for all ruby-related tasks\r\n\r\nRationale: 2.6.10 is what ships with macOS 14.0 even though support for it\r\nstopped in March of 2022 and 3.2 is the latest stable version.\r\n\r\n* Ensure the ruby libs are copied and available for testing\r\n\r\n* Bump solargraph and rubocop\r\n\r\nDisable new cops for existing violations\r\n\r\n* Update bundler to get rid of SPELL_CHECKERS warning\r\n\r\n* Do not suggest extensions\r\n\r\n* Simplify YARD docs for query method\r\n\r\nAdd the host and bindings parameters so calls that contain them don't fail typecheck\r\n\r\n* Must use Ruby 2.4 in order to build the docs on main\r\n\r\n* Must use Ruby 2.4 in order to build the docs on main\r\n\r\n* Use .ruby-version instead of hard-coding the current ruby version in Github actions\r\n\r\nThe rationale for this is from the way that docs diffing works. Both the base branch and the new branch need to be able to build using the version of Ruby supported by that branch. Without this change, when a PR is introduced that updates the target Ruby version, a followup PR will be required to update the github action for building the 'base' branch's version of the docs. With this change, github actions will choose the version of Ruby targeted by the branch it is trying to build\r\n\r\n* Clippy\r\n\r\n* Cargo fmt\r\n\r\n* Test\r\n\r\n* Try building aarch64 first\r\n\r\nSeeing if\r\n[this](https://github.com/cross-rs/cross/issues/724#issuecomment-1638593579)\r\nis a quick fix so I can avoid any deeper debugging.\r\n\r\n* Keep shuffling the deck chairs\r\n\r\n* Revert \"Test\"\r\n\r\nThis reverts commit 7feebd1044adb366c1467d3afe514902195a34d3.\r\n\r\n* Add 0.27.3 changelog\r\n\r\n* Bump version\r\n\r\n* Let's just release now instead\r\n\r\n---------\r\n\r\nCo-authored-by: Gabe Jackson <17556281+gj@users.noreply.github.com>", + "timestamp": "2024-01-12T22:48:10-05:00", + "tree_id": "823d5e905181cbd9aff6f939a8c2b90755e117e7", + "url": "https://github.com/osohq/oso/commit/b545cf5dc7ba3304b1206b315ab421e84256815c" + }, + "date": 1705118203276, + "tool": "cargo", + "benches": [ + { + "name": "rust_get_attribute", + "value": 28970, + "range": "± 1932", + "unit": "ns/iter" + }, + { + "name": "n_plus_one/100", + "value": 1521505, + "range": "± 25726", + "unit": "ns/iter" + }, + { + "name": "n_plus_one/500", + "value": 7375274, + "range": "± 149595", + "unit": "ns/iter" + }, + { + "name": "n_plus_one/1000", + "value": 14654173, + "range": "± 135512", + "unit": "ns/iter" + }, + { + "name": "unify_once", + "value": 619, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "unify_twice", + "value": 1735, + "range": "± 66", + "unit": "ns/iter" + }, + { + "name": "many_rules", + "value": 38973, + "range": "± 898", + "unit": "ns/iter" + }, + { + "name": "fib/5", + "value": 345177, + "range": "± 5014", + "unit": "ns/iter" + }, + { + "name": "prime/3", + "value": 10413, + "range": "± 426", + "unit": "ns/iter" + }, + { + "name": "prime/23", + "value": 10430, + "range": "± 450", + "unit": "ns/iter" + }, + { + "name": "prime/43", + "value": 10479, + "range": "± 550", + "unit": "ns/iter" + }, + { + "name": "prime/83", + "value": 10414, + "range": "± 393", + "unit": "ns/iter" + }, + { + "name": "prime/255", + "value": 9338, + "range": "± 363", + "unit": "ns/iter" + }, + { + "name": "indexed/100", + "value": 3402, + "range": "± 403", + "unit": "ns/iter" + }, + { + "name": "indexed/500", + "value": 3947, + "range": "± 1242", + "unit": "ns/iter" + }, + { + "name": "indexed/1000", + "value": 4450, + "range": "± 304", + "unit": "ns/iter" + }, + { + "name": "indexed/10000", + "value": 8153, + "range": "± 1932", + "unit": "ns/iter" + }, + { + "name": "not", + "value": 3985, + "range": "± 68", + "unit": "ns/iter" + }, + { + "name": "double_not", + "value": 8416, + "range": "± 265", + "unit": "ns/iter" + }, + { + "name": "De_Morgan_not", + "value": 5458, + "range": "± 102", + "unit": "ns/iter" + }, + { + "name": "load_policy", + "value": 659950, + "range": "± 26231", + "unit": "ns/iter" + }, + { + "name": "partial_and/1", + "value": 20764, + "range": "± 688", + "unit": "ns/iter" + }, + { + "name": "partial_and/5", + "value": 68750, + "range": "± 1998", + "unit": "ns/iter" + }, + { + "name": "partial_and/10", + "value": 128523, + "range": "± 3421", + "unit": "ns/iter" + }, + { + "name": "partial_and/20", + "value": 267199, + "range": "± 5217", + "unit": "ns/iter" + }, + { + "name": "partial_and/40", + "value": 585692, + "range": "± 8504", + "unit": "ns/iter" + }, + { + "name": "partial_and/80", + "value": 1353513, + "range": "± 45850", + "unit": "ns/iter" + }, + { + "name": "partial_and/100", + "value": 1805651, + "range": "± 11852", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/1", + "value": 62238, + "range": "± 2249", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/5", + "value": 212950, + "range": "± 6046", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/10", + "value": 483155, + "range": "± 22803", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/20", + "value": 1380034, + "range": "± 19506", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/40", + "value": 4918098, + "range": "± 33780", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/80", + "value": 27809958, + "range": "± 341458", + "unit": "ns/iter" + }, + { + "name": "partial_rule_depth/100", + "value": 50033237, + "range": "± 468928", + "unit": "ns/iter" + } + ] } ] }