-
-
Notifications
You must be signed in to change notification settings - Fork 47
chore: update rust edition to 2024 #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+1,080
−701
Conversation
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
This is taking me on a journey, since some of the features in this edition require much newer nightly versions, and a version of rustc_plugin doesn't exist for those yet |
|
Branch | chore/update-rust-edition |
Testbed | linux-gha |
Click to view all benchmark results
Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
---|---|---|---|
component/access Lua | 📈 view plot 🚷 view threshold | 3,622.70 ns(-22.21%)Baseline: 4,657.24 ns | 6,132.26 ns (59.08%) |
component/access Rhai | 📈 view plot 🚷 view threshold | 5,408.30 ns(-17.69%)Baseline: 6,570.76 ns | 7,860.98 ns (68.80%) |
component/get Lua | 📈 view plot 🚷 view threshold | 2,230.20 ns(-19.13%)Baseline: 2,757.70 ns | 3,471.88 ns (64.24%) |
component/get Rhai | 📈 view plot 🚷 view threshold | 4,051.40 ns(-16.20%)Baseline: 4,834.36 ns | 5,850.67 ns (69.25%) |
conversions/Mut::from | 📈 view plot 🚷 view threshold | 82.93 ns(-30.13%)Baseline: 118.68 ns | 219.04 ns (37.86%) |
conversions/Ref::from | 📈 view plot 🚷 view threshold | 78.48 ns(-32.72%)Baseline: 116.65 ns | 216.70 ns (36.22%) |
conversions/ScriptValue::List | 📈 view plot 🚷 view threshold | 269.69 ns(-45.68%)Baseline: 496.50 ns | 1,037.64 ns (25.99%) |
conversions/ScriptValue::Map | 📈 view plot 🚷 view threshold | 1,361.90 ns(-11.43%)Baseline: 1,537.60 ns | 2,102.26 ns (64.78%) |
conversions/ScriptValue::Reference::from_into | 📈 view plot 🚷 view threshold | 25.46 ns(-30.96%)Baseline: 36.87 ns | 61.70 ns (41.26%) |
conversions/Val::from_into | 📈 view plot 🚷 view threshold | 319.23 ns(-3.59%)Baseline: 331.11 ns | 435.95 ns (73.23%) |
function/call 4 args Lua | 📈 view plot 🚷 view threshold | 1,645.70 ns(-18.93%)Baseline: 2,029.85 ns | 2,440.43 ns (67.43%) |
function/call 4 args Rhai | 📈 view plot 🚷 view threshold | 1,370.50 ns(-20.80%)Baseline: 1,730.37 ns | 2,173.79 ns (63.05%) |
function/call Lua | 📈 view plot 🚷 view threshold | 232.87 ns(-13.63%)Baseline: 269.61 ns | 328.08 ns (70.98%) |
function/call Rhai | 📈 view plot 🚷 view threshold | 391.07 ns(-23.30%)Baseline: 509.84 ns | 654.18 ns (59.78%) |
loading/empty Lua | 📈 view plot 🚷 view threshold | 55,158.00 ns(-34.24%)Baseline: 83,873.76 ns | 130,483.33 ns (42.27%) |
loading/empty Rhai | 📈 view plot 🚷 view threshold | 297,870.00 ns(-66.05%)Baseline: 877,306.47 ns | 2,123,994.76 ns (14.02%) |
math/vec mat ops Lua | 📈 view plot 🚷 view threshold | 6,890.00 ns(-10.94%)Baseline: 7,736.75 ns | 8,950.33 ns (76.98%) |
math/vec mat ops Rhai | 📈 view plot 🚷 view threshold | 6,001.80 ns(-17.77%)Baseline: 7,299.01 ns | 8,389.27 ns (71.54%) |
query/10 entities Lua | 📈 view plot 🚷 view threshold | 18,267.00 ns(-22.86%)Baseline: 23,680.25 ns | 29,675.17 ns (61.56%) |
query/10 entities Rhai | 📈 view plot 🚷 view threshold | 18,655.00 ns(-21.28%)Baseline: 23,699.18 ns | 28,160.48 ns (66.25%) |
query/100 entities Lua | 📈 view plot 🚷 view threshold | 40,988.00 ns(-14.92%)Baseline: 48,175.76 ns | 59,142.71 ns (69.30%) |
query/100 entities Rhai | 📈 view plot 🚷 view threshold | 32,327.00 ns(-14.53%)Baseline: 37,824.80 ns | 46,393.74 ns (69.68%) |
query/1000 entities Lua | 📈 view plot 🚷 view threshold | 252,970.00 ns(-18.17%)Baseline: 309,123.92 ns | 372,174.11 ns (67.97%) |
query/1000 entities Rhai | 📈 view plot 🚷 view threshold | 162,200.00 ns(-22.08%)Baseline: 208,166.67 ns | 285,054.42 ns (56.90%) |
reflection/10 Lua | 📈 view plot 🚷 view threshold | 5,531.40 ns(-14.22%)Baseline: 6,448.12 ns | 7,364.81 ns (75.11%) |
reflection/10 Rhai | 📈 view plot 🚷 view threshold | 14,938.00 ns(-8.65%)Baseline: 16,352.78 ns | 17,864.14 ns (83.62%) |
reflection/100 Lua | 📈 view plot 🚷 view threshold | 47,941.00 ns(-9.87%)Baseline: 53,193.37 ns | 59,049.97 ns (81.19%) |
reflection/100 Rhai | 📈 view plot 🚷 view threshold | 719,960.00 ns(-3.89%)Baseline: 749,107.06 ns | 870,322.27 ns (82.72%) |
resource/access Lua | 📈 view plot 🚷 view threshold | 3,219.00 ns(-21.98%)Baseline: 4,125.95 ns | 5,325.20 ns (60.45%) |
resource/access Rhai | 📈 view plot 🚷 view threshold | 4,902.40 ns(-16.46%)Baseline: 5,868.38 ns | 7,197.09 ns (68.12%) |
resource/get Lua | 📈 view plot 🚷 view threshold | 1,846.50 ns(-19.83%)Baseline: 2,303.28 ns | 2,910.15 ns (63.45%) |
resource/get Rhai | 📈 view plot 🚷 view threshold | 3,612.70 ns(-13.90%)Baseline: 4,195.94 ns | 5,149.86 ns (70.15%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
About time!