Skip to content

chore: Bevy 0.16 #446

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 27 commits into from
Aug 13, 2025
Merged

chore: Bevy 0.16 #446

merged 27 commits into from
Aug 13, 2025

Conversation

makspll
Copy link
Owner

@makspll makspll commented Aug 11, 2025

Summary

Merges the work from the handles branch with the bevy 0.16 migration

Copy link

semanticdiff-com bot commented Aug 11, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/bevy_mod_scripting_core/src/docgen/typed_through.rs  95% smaller
  crates/bevy_mod_scripting_core/src/bindings/schedule.rs  95% smaller
  crates/ladfile_builder/src/plugin.rs  91% smaller
  crates/bevy_mod_scripting_core/src/docgen/info.rs  85% smaller
  crates/bevy_mod_scripting_core/src/bindings/reference.rs  79% smaller
  assets/tests/add_system/added_systems_run_in_parallel.lua  71% smaller
  crates/bevy_api_gen/src/modifying_file_loader.rs  63% smaller
  crates/bevy_system_reflection/src/lib.rs  59% smaller
  crates/bevy_mod_scripting_core/src/bindings/script_component.rs  53% smaller
  crates/languages/bevy_mod_scripting_lua/src/lib.rs  48% smaller
  crates/bevy_mod_scripting_core/src/bindings/world.rs  46% smaller
  benches/benchmarks.rs  46% smaller
  crates/testing_crates/script_integration_test_harness/src/lib.rs  45% smaller
  crates/testing_crates/test_utils/src/test_data.rs  44% smaller
  crates/bevy_mod_scripting_core/src/reflection_extensions.rs  38% smaller
  xtask/src/main.rs  37% smaller
  crates/bevy_mod_scripting_core/src/bindings/allocator.rs  33% smaller
  crates/bevy_api_gen/src/passes/find_trait_impls.rs  30% smaller
  crates/bevy_mod_scripting_core/src/lib.rs  30% smaller
  crates/bevy_mod_scripting_core/src/bindings/function/type_dependencies.rs  28% smaller
  crates/bevy_api_gen/src/context.rs  28% smaller
  crates/bevy_mod_scripting_core/src/handler.rs  28% smaller
  crates/bevy_mod_scripting_core/src/asset.rs  23% smaller
  crates/bevy_api_gen/src/bin/main.rs  22% smaller
  crates/bevy_api_gen/src/feature_graph.rs  22% smaller
  crates/bevy_mod_scripting_core/src/bindings/script_system.rs  21% smaller
  crates/bevy_api_gen/src/passes/cache_traits.rs  20% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_input.rs  16% smaller
  crates/bevy_mod_scripting_core/src/bindings/function/script_function.rs  16% smaller
  crates/bevy_api_gen/src/passes/find_methods_and_fields.rs  15% smaller
  crates/bevy_mod_scripting_core/src/extractors.rs  14% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_math.rs  11% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_ecs.rs  1% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_reflect.rs  1% smaller
  crates/bevy_mod_scripting_core/src/script/mod.rs  1% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_time.rs  1% smaller
  .gitignore Unsupported file format
  Cargo.toml Unsupported file format
  assets/tests/add_system/added_systems_run_in_parallel.rhai Unsupported file format
  build_scripts.sh Unsupported file format
  codegen_bevy_features.txt Unsupported file format
  crates/bevy_api_gen/Cargo.bootstrap.toml Unsupported file format
  crates/bevy_api_gen/Cargo.toml Unsupported file format
  crates/bevy_api_gen/src/meta.rs  0% smaller
  crates/bevy_api_gen/src/passes/write_meta.rs  0% smaller
  crates/bevy_api_gen/templates/import.tera Unsupported file format
  crates/bevy_mod_scripting_core/Cargo.toml Unsupported file format
  crates/bevy_mod_scripting_core/src/bindings/access_map.rs  0% smaller
  crates/bevy_mod_scripting_core/src/bindings/function/from.rs  0% smaller
  crates/bevy_mod_scripting_core/src/bindings/function/into.rs  0% smaller
  crates/bevy_mod_scripting_core/src/bindings/globals/mod.rs  0% smaller
  crates/bevy_mod_scripting_core/src/context.rs  0% smaller
  crates/bevy_mod_scripting_core/src/runtime.rs  0% smaller
  crates/bevy_mod_scripting_core/src/script/script_context.rs  0% smaller
  crates/bevy_mod_scripting_functions/Cargo.toml Unsupported file format
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_core.rs  0% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_hierarchy.rs  0% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/bevy_transform.rs  0% smaller
  crates/bevy_mod_scripting_functions/src/bevy_bindings/mod.rs  0% smaller
  crates/bevy_mod_scripting_functions/src/core.rs  0% smaller
  crates/bevy_mod_scripting_functions/src/lib.rs  0% smaller
  crates/bevy_system_reflection/Cargo.toml Unsupported file format
  crates/ladfile_builder/Cargo.toml Unsupported file format
  crates/ladfile_builder/src/lib.rs  0% smaller
  crates/languages/bevy_mod_scripting_lua/Cargo.toml Unsupported file format
  crates/languages/bevy_mod_scripting_rhai/src/lib.rs  0% smaller
  crates/testing_crates/script_integration_test_harness/src/scenario.rs  0% smaller
  examples/game_of_life.rs Unsupported file format
  xtask/templates/settings.json.tera Unsupported file format

@makspll makspll changed the title Bevy 0.16 feat: Bevy 0.16 Aug 11, 2025
Copy link
Contributor

🐰 Bencher Report

Branchuse-handles-and-bevy-0.16
Testbedlinux-gha

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
component/access Lua📈 view plot
⚠️ NO THRESHOLD
3,532.70 ns
component/access Rhai📈 view plot
⚠️ NO THRESHOLD
5,213.00 ns
component/get Lua📈 view plot
⚠️ NO THRESHOLD
2,164.00 ns
component/get Rhai📈 view plot
⚠️ NO THRESHOLD
3,884.90 ns
conversions/Mut::from📈 view plot
⚠️ NO THRESHOLD
80.77 ns
conversions/Ref::from📈 view plot
⚠️ NO THRESHOLD
80.87 ns
conversions/ScriptValue::List📈 view plot
⚠️ NO THRESHOLD
280.46 ns
conversions/ScriptValue::Map📈 view plot
⚠️ NO THRESHOLD
1,136.60 ns
conversions/ScriptValue::Reference::from_into📈 view plot
⚠️ NO THRESHOLD
26.27 ns
conversions/Val::from_into📈 view plot
⚠️ NO THRESHOLD
246.12 ns
function/call 4 args Lua📈 view plot
⚠️ NO THRESHOLD
1,602.80 ns
function/call 4 args Rhai📈 view plot
⚠️ NO THRESHOLD
1,335.50 ns
function/call Lua📈 view plot
⚠️ NO THRESHOLD
230.07 ns
function/call Rhai📈 view plot
⚠️ NO THRESHOLD
384.78 ns
loading/empty Lua📈 view plot
⚠️ NO THRESHOLD
59,756.00 ns
loading/empty Rhai📈 view plot
⚠️ NO THRESHOLD
288,890.00 ns
math/vec mat ops Lua📈 view plot
⚠️ NO THRESHOLD
6,621.60 ns
math/vec mat ops Rhai📈 view plot
⚠️ NO THRESHOLD
5,971.70 ns
query/10 entities Lua📈 view plot
⚠️ NO THRESHOLD
18,902.00 ns
query/10 entities Rhai📈 view plot
⚠️ NO THRESHOLD
17,737.00 ns
query/100 entities Lua📈 view plot
⚠️ NO THRESHOLD
38,397.00 ns
query/100 entities Rhai📈 view plot
⚠️ NO THRESHOLD
28,603.00 ns
query/1000 entities Lua📈 view plot
⚠️ NO THRESHOLD
236,860.00 ns
query/1000 entities Rhai📈 view plot
⚠️ NO THRESHOLD
152,140.00 ns
reflection/10 Lua📈 view plot
⚠️ NO THRESHOLD
5,614.00 ns
reflection/10 Rhai📈 view plot
⚠️ NO THRESHOLD
14,509.00 ns
reflection/100 Lua📈 view plot
⚠️ NO THRESHOLD
48,654.00 ns
reflection/100 Rhai📈 view plot
⚠️ NO THRESHOLD
720,950.00 ns
resource/access Lua📈 view plot
⚠️ NO THRESHOLD
3,264.30 ns
resource/access Rhai📈 view plot
⚠️ NO THRESHOLD
4,641.10 ns
resource/get Lua📈 view plot
⚠️ NO THRESHOLD
1,852.80 ns
resource/get Rhai📈 view plot
⚠️ NO THRESHOLD
3,434.30 ns
🐰 View full continuous benchmarking report in Bencher

@makspll makspll changed the title feat: Bevy 0.16 chore: Bevy 0.16 Aug 13, 2025
@makspll makspll merged commit 3e81e14 into staging Aug 13, 2025
24 checks passed
@makspll makspll deleted the use-handles-and-bevy-0.16 branch August 13, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants