Skip to content

Conversation

@platonvin
Copy link

this pr introduces some improvements to both benchmarked programs and the benchmarking script

  • benchmarks are now measured (and plotted) across different array sizes
  • benchmarks now get array size and iteration count from cli arguments (which is more realistic than hardcoded values, with comptime values and stack memory only benchmarks would be simplified to single hardcoded value)
  • comments like
// Function to perform work on a kernel object
void perform_work(struct kernel_object *obj) {...}

are now removed (they are not useful)

  • i/o in a loop is also removed (it just interferes with the benchmark)
  • code is formatted with "idiomatic" formatters (rust-fmt for Rust, clangd for C/C++, gofmt for Go)
  • Rust version is now built with std (it is possible without Cargo, but im having skill issues)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant