Skip to content

Commit

Permalink
set up nalgebra benchmark
Browse files Browse the repository at this point in the history
clean build times
- cargo check: 10.2s
- cargo build: 10.9s
- cargo build --release: 13.6s

leaf crate build times:
- check full: 4.9s
- debug full: 5.4s
- opt full: 7.6s
  • Loading branch information
lqd committed Sep 13, 2024
1 parent 10d21ae commit 883c1ed
Show file tree
Hide file tree
Showing 5 changed files with 1,556 additions and 1 deletion.
1 change: 0 additions & 1 deletion collector/compile-benchmarks/nalgebra-0.33.0/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ doc
lib
TODO
target/
Cargo.lock
*.orig
*.swo
site/
Expand Down
12 changes: 12 additions & 0 deletions collector/compile-benchmarks/nalgebra-0.33.0/0-println.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/base/matrix.rs b/src/base/matrix.rs
index 6f358a84..6c4eb739 100644
--- a/src/base/matrix.rs
+++ b/src/base/matrix.rs
@@ -225,6 +225,7 @@ where
S: Default,
{
fn default() -> Self {
+ println!("testing");
Matrix {
data: Default::default(),
_phantoms: PhantomData,
Loading

0 comments on commit 883c1ed

Please sign in to comment.