Skip to content

Commit

Permalink
feat: Add MessageMf
Browse files Browse the repository at this point in the history
MessageMf has "Many fields" making it able to see how borrowed and
owned scale differently.

Added benchmarking creating default instances of Message and
MessageMf.

Removed the xxx_loop() variants as they don't add information just more
noise. I would like to look at why xxx_idx_loop() is sometimes slower
than xxx_iter_loop().

NOTE: I believe some of the noise is caused by code alignment changes
as we tweak that where doing and change code.
See: https://www.google.com/search?q=benchmark sensitive to code alignment
and rust-lang/rust#82232
  • Loading branch information
winksaville committed Dec 3, 2022
1 parent 03456c7 commit e5f5f73
Show file tree
Hide file tree
Showing 25 changed files with 816 additions and 1,529 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@
name = "exper-borrowed-vs-owned-parameters"
authors = [ "Wink Saville <[email protected]" ]
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
Loading

0 comments on commit e5f5f73

Please sign in to comment.