kitgit

tirbofish/dropbear · diff

44a392b · tk

fps counter + performance statistics

Unverified

diff --git a/Cargo.toml b/Cargo.toml
index ad5298d..a925a0e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -62,6 +62,8 @@ sha2 = "0.10"
 wesl = "0.2"
 dashmap = "6.1"
 open = "5.3"
+egui_plot = "0.34"
+memory-stats = "1.2"
 
 [workspace.dependencies.image]
 version = "0.25"
diff --git a/README.md b/README.md
index c3526be..54c2d45 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ If you might have not realised, all the crates/projects names are after Australi
 
 ## Build
 
-To build, ensure build requirements, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time.
+To build, ensure build requirements, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time or scroll through Instagram Reels (you could get a nice doomscroll in).
 
 With Unix systems (macOS not tested), you will have to download a couple of dependencies if building locally:
 
diff --git a/eucalyptus-editor/Cargo.toml b/eucalyptus-editor/Cargo.toml
index b18523f..c9c8958 100644
--- a/eucalyptus-editor/Cargo.toml
+++ b/eucalyptus-editor/Cargo.toml
@@ -39,6 +39,8 @@ libloading.workspace = true
 indexmap.workspace = true
 open.workspace = true
 rustc_version_runtime.workspace = true
+egui_plot.workspace = true
+memory-stats.workspace = true
 
 [target.'cfg(not(target_os = "android"))'.dependencies]
 rfd.workspace = true
diff --git a/eucalyptus-editor/src/editor/mod.rs b/eucalyptus-editor/src/editor/mod.rs
index fa0d1f3..d402c17 100644
--- a/eucalyptus-editor/src/editor/mod.rs
+++ b/eucalyptus-editor/src/editor/mod.rs
@@ -10,6 +10,7 @@ use crate::camera::UndoableCameraAction;
 use crate::debug;
 use crate::graphics::OutlineShader;
 use crate::plugin::PluginRegistry;
+use crate::stats::NerdStats;
 use crossbeam_channel::Receiver;
 use dropbear_engine::shader::Shader;

Large diffs are not rendered by default. Showing the first 50 of 400 lines. Show full diff