Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Report] Optimize remote-trait-object #71

Open
junha1 opened this issue Jul 14, 2020 · 1 comment
Open

[Report] Optimize remote-trait-object #71

junha1 opened this issue Jul 14, 2020 · 1 comment

Comments

@junha1
Copy link
Contributor

junha1 commented Jul 14, 2020

Here's an instruction to profile the program.

cargo install flamegraph
sudo apt-get install linux-tools-5.3.0-62-generic
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
echo 0 | sudo tee /proc/sys/kernel/kptr_restrict
cargo flamegraph

I will constantly report benchmark result here.

@junha1 junha1 changed the title Optimize remote-trait-object [Report] Optimize remote-trait-object Jul 14, 2020
@junha1
Copy link
Contributor Author

junha1 commented Jul 14, 2020

Here's profile of

fn main() {
    remote_trait_object_tests::massive_no_export(100000)
}

at f32350d
flamegraph.zip

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

No branches or pull requests

1 participant