|
1 |
| -use bevy::log::tracing_subscriber::layer::SubscriberExt; |
2 |
| -use bevy::log::{tracing, tracing_subscriber, Level}; |
3 |
| -use bevy::reflect::Reflect; |
| 1 | +use std::{collections::HashMap, path::PathBuf, sync::LazyLock, time::Duration}; |
| 2 | + |
| 3 | +use bevy::{ |
| 4 | + log::{ |
| 5 | + tracing, tracing::span, tracing_subscriber, tracing_subscriber::layer::SubscriberExt, Level, |
| 6 | + }, |
| 7 | + reflect::Reflect, |
| 8 | +}; |
4 | 9 | use bevy_mod_scripting_core::bindings::{
|
5 | 10 | FromScript, IntoScript, Mut, Ref, ReflectReference, ScriptValue, Val,
|
6 | 11 | };
|
7 |
| -use criterion::{criterion_main, measurement::Measurement, BenchmarkGroup, Criterion}; |
8 |
| -use criterion::{BatchSize, BenchmarkFilter}; |
| 12 | +use criterion::{ |
| 13 | + criterion_main, measurement::Measurement, BatchSize, BenchmarkFilter, BenchmarkGroup, Criterion, |
| 14 | +}; |
9 | 15 | use regex::Regex;
|
10 |
| -use script_integration_test_harness::test_functions::rand::Rng; |
11 | 16 | use script_integration_test_harness::{
|
12 | 17 | make_test_lua_plugin, make_test_rhai_plugin, perform_benchmark_with_generator,
|
13 | 18 | run_lua_benchmark, run_plugin_script_load_benchmark, run_rhai_benchmark,
|
| 19 | + test_functions::rand::Rng, |
14 | 20 | };
|
15 |
| -use std::collections::HashMap; |
16 |
| -use std::{path::PathBuf, sync::LazyLock, time::Duration}; |
17 |
| -use bevy::log::tracing::span; |
18 | 21 | use test_utils::{discover_all_tests, Test};
|
19 | 22 |
|
20 | 23 | extern crate bevy_mod_scripting;
|
|
0 commit comments