Alexander Sepity
d5a7330431
System sets and parallel executor v2 ( #1144 )
...
System sets and parallel executor v2
2021-02-09 12:14:10 -08:00
Alice Cecile
6f5a4d9deb
Rename add_resource to insert_resource ( #1356 )
...
* Renamed add_resource to insert_resource
* Changed usage of add_resource to insert_resource
* Renamed add_thread_local_resource
2021-01-30 12:55:13 -08:00
bjorn3
fbf08ac545
Faster compilation of bevy_diagnostic ( #1235 )
...
* Remove AHashExt
There is little benefit of Hash*::new() over Hash*::default(), but it
does require more code that needs to be duplicated for every Hash* in
bevy_utils. It may also slightly increase compile times.
* Add StableHash* to bevy_utils
* Use StableHashMap instead of HashMap + BTreeSet for diagnostics
This is a significant reduction in the release mode compile times of
bevy_diagnostics
```
Benchmark #1 : touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
Time (mean ± σ): 3.645 s ± 0.009 s [User: 3.551 s, System: 0.094 s]
Range (min … max): 3.632 s … 3.658 s 20 runs
```
```
Benchmark #1 : touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
Time (mean ± σ): 2.938 s ± 0.012 s [User: 2.850 s, System: 0.090 s]
Range (min … max): 2.919 s … 2.969 s 20 runs
```
2021-01-12 13:21:45 -08:00
François
b28365f966
updates on diagnostics (log + new diagnostics) ( #1085 )
...
* move print diagnostics to log
* entity count diagnostic
* asset count diagnostic
* remove useless `pub`s
* use `BTreeMap` instead of `HashMap`
* get entity count from world
* keep ordered list of diagnostics
2020-12-24 13:28:31 -06:00
Carter Anderson
3b2c6ce49b
release 0.4.0 ( #1093 )
2020-12-19 13:28:00 -06:00
Carter Anderson
841755aaf2
Adopt a Fetch pattern for SystemParams ( #1074 )
2020-12-15 21:57:16 -08:00
Amber Kowalski
097a55948c
Refactor Time API and internals ( #934 )
...
Refactor Time API and internals
2020-11-28 13:08:31 -08:00
Carter Anderson
72b2fc9843
Bevy Reflection ( #926 )
...
Bevy Reflection
2020-11-27 16:39:59 -08:00
Nathan Stocks
12f29bd38c
Timer Polishing ( #931 )
...
* Pause stops ticks. Consistent getter method names. Update tests.
* Add timing example
* Format with the nightly formatter
Co-authored-by: Amber Kowalski <amberkowalski03@gmail.com>
2020-11-27 11:39:33 -08:00
Amber Kowalski
f69cc6f94c
Allow timers to be paused and encapsulate fields ( #914 )
...
Allow timers to be paused and encapsulate fields
2020-11-26 11:25:36 -08:00
Mariusz Kryński
d96493a42a
use wasm-friendly instant::Instant everywhere ( #895 )
...
* use instant::Instant everywhere
* reexport instant::{Duration, Instant} from bevy_utils
2020-11-21 16:38:24 -08:00
Carter Anderson
3a6f6de277
System Inputs, Outputs, Chaining, and Registration Ergo ( #876 )
...
System Inputs, Outputs, Chaining, and Registration Ergo
2020-11-16 18:18:00 -08:00
Marcus Buffett
1a92ec2638
Make Timer.tick return &Self ( #820 )
...
Make Timer::tick return &Self
2020-11-12 18:03:03 -08:00
Carter Anderson
e03f17ba7f
Log Plugin ( #836 )
...
add bevy_log plugin
2020-11-12 17:23:57 -08:00
Carter Anderson
ebcdc9fb8c
Flexible ECS System Params ( #798 )
...
system params can be in any order, faster compiles, remove foreach
2020-11-08 12:34:05 -08:00
Carter Anderson
9afe196f16
release: 0.3.0 ( #783 )
2020-11-03 13:34:00 -08:00
Catherine Gilbert
1f7fe77f32
added frame count to FrameTimeDiagnosticsPlugin ( #678 )
...
added frame count to FrameTimeDiagnosticsPlugin
2020-10-14 15:13:43 -07:00
Grayson Burton
354d71cc1f
The Great Debuggening ( #632 )
...
The Great Debuggening
2020-10-08 11:43:01 -07:00
Tomasz Sterna
408114269b
Use instant::Instant with wasm-bindgen feature ( #591 )
2020-09-27 12:55:06 -07:00
Carter Anderson
74dba5f36b
release: 0.2.1 ( #533 )
2020-09-20 15:58:32 -07:00
Carter Anderson
ba5af4dd56
release: 0.2.0 ( #520 )
2020-09-19 15:29:08 -07:00
Tomasz Sterna
34c6f5f41b
Implement WASM support for bevy_winit ( #503 )
...
Also, replaced wasm_timer::Instant with instant::Instant as it is
used by winit WASM implementation.
2020-09-16 13:40:32 -07:00
Smite Rust
a9ce7f4e82
update dependencies ( #470 )
2020-09-10 12:54:24 -07:00
Robbie Davenport
4aabe983ec
Switch usage of std HashMap/HashSet default hasher, to aHash algo ( #258 )
...
switch to ahash for HashMaps and HashSets via a new bevy_utils crate
2020-08-28 17:08:51 -07:00
Carter Anderson
b925e22949
0.1.3 upgrade
2020-08-22 10:16:52 -07:00
8bp
68d419d40f
Add repeating flag to Timer ( #165 )
...
Repeating timers will reset themselves upon finishing, carrying over any
excess time during the last tick. This fixes timer drift upon resetting.
2020-08-21 14:57:25 -07:00
Lachlan Sneff
1eca55e571
Replace std synchronization primitives with parking_lot ( #210 )
...
* Replace std::sync::Mutex with parking_lot::Mutex
* Replace std::sync::RwLock with parking_lot::RwLock
2020-08-21 14:55:16 -07:00
Victor "multun" Collod
c38420f1e9
enforce clippy for all target and features
2020-08-16 07:20:06 -07:00
Victor "multun" Collod
d138647818
enforce cargo fmt --check
2020-08-16 05:02:06 -07:00
Victor "multun" Collod
ece54e963e
diagnostics: add missing feature dependency
2020-08-16 05:02:06 -07:00
Victor "multun" Collod
1ec7183494
profiling: fix build
2020-08-16 02:06:59 -07:00
Carter Anderson
34752a27bd
add "0.1" version to all bevy crate references
2020-08-09 17:39:28 -07:00
Carter Anderson
9aee5323e1
add crate metadata
2020-08-09 17:24:27 -07:00
Carter Anderson
3d09459813
add more doc comments and clean up some public exports
2020-08-09 16:13:04 -07:00
Carter Anderson
f963cd41dc
app: rename AppPlugin to Plugin
2020-08-07 20:22:17 -07:00
Carter Anderson
f742ce3ef2
app: simplify app imports
2020-07-16 18:47:51 -07:00
Carter Anderson
b12c4d0a48
render: simplify imports and cleanup prelude
2020-07-16 18:26:21 -07:00
Carter Anderson
0dc810a37a
ecs: add thread local system support to parallel executor
2020-07-14 14:19:17 -07:00
Carter Anderson
c81ab99dac
cargo fmt
2020-07-10 01:37:06 -07:00
Carter Anderson
950e50bbb1
Bevy ECS migration
2020-07-10 01:06:21 -07:00
Carter Anderson
4f73dca34d
add system profile data to Diagnostics (opt in feature)
2020-06-28 01:01:40 -07:00
Carter Anderson
6eea96366d
cargo fmt
2020-06-03 20:08:20 -07:00
Carter Anderson
a4c15f96de
Timer Resource/Component
2020-06-03 19:53:41 -07:00
Carter Anderson
8bc0eb45ee
print average fps and smooth out average a little bit
2020-05-18 14:53:57 -07:00
Carter Anderson
6381611e89
Resource -> Res, Ref->Com
2020-05-13 17:57:08 -07:00
Carter Anderson
c5ca59dc4d
cargo fmt
2020-05-05 18:44:32 -07:00
Carter Anderson
4735c68ab4
add diagnostic examples
2020-05-04 14:14:49 -07:00
Carter Anderson
704a742661
Print diagnostics plugin
2020-05-04 13:42:49 -07:00
Carter Anderson
ea16f6fc56
frame time diagnostic plugin
2020-05-04 13:21:14 -07:00
Carter Anderson
0e63fd3838
wgpu resource diagnostic plugin
2020-05-04 12:36:18 -07:00