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

Improve locking performance #4

Closed
veddan opened this issue Jul 16, 2015 · 1 comment
Closed

Improve locking performance #4

veddan opened this issue Jul 16, 2015 · 1 comment

Comments

@veddan
Copy link
Owner

veddan commented Jul 16, 2015

RWLocks can be slow, Mutex might be faster. Obviously might depend on read/write ratio. Needs benchmarks.
Last time I checked, lots of time was spent doing virtual calls to access thread-locals (is_panicking) on low-contention scenarios, see rust-lang/rust#25088.

@arthurprs
Copy link
Contributor

#5 addresses this.

@veddan veddan closed this as completed Nov 6, 2015
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

2 participants