Comments (1)
Fixed, not returning the calculated thunk. Voila:
Running target/release/deps/is_enabled-263b751a9c364fca
single_call/single_call time: [246.59 ns 249.44 ns 252.55 ns]
thrpt: [3.9596 Melem/s 4.0089 Melem/s 4.0553 Melem/s]
Benchmarking across 32 threads with 50000 iterations per thread
Benchmarking batch/single thread: Warming up for 15.000 s
Warning: Unable to complete 100 samples in 30.0s. You may wish to increase target time to 62.6s or reduce sample count to 40.
batch/single thread time: [12.285 ms 12.354 ms 12.429 ms]
thrpt: [4.0230 Melem/s 4.0471 Melem/s 4.0701 Melem/s]
batch/parallel same-feature
time: [104.34 ms 106.35 ms 107.71 ms]
thrpt: [14.855 Melem/s 15.045 Melem/s 15.334 Melem/s]
Found 2 outliers among 10 measurements (20.00%)
2 (20.00%) low severe
batch/parallel distinct-features
time: [33.841 ms 34.040 ms 34.296 ms]
thrpt: [46.652 Melem/s 47.003 Melem/s 47.279 Melem/s]
Found 2 outliers among 10 measurements (20.00%)
2 (20.00%) high mild
batch/parallel unknown-features
time: [12.934 ms 12.973 ms 13.029 ms]
thrpt: [122.80 Melem/s 123.33 Melem/s 123.71 Melem/s]
normalising gives us:
single call: ~250ns
single thread: ~12354ns/50k = ~247ns
parallel same: ~106350ns/50k = ~2130ns
parallel distinct: ~34040ns/50k = ~681ns
parallel unknown: ~12.973ns/50k = ~255ns
from unleash-client-rust.
Related Issues (14)
- RUSTSEC-2020-0057: crate has been renamed to `cipher` HOT 1
- RUSTSEC-2020-0056: stdweb is unmaintained HOT 1
- Build of `0.4.0` failed HOT 2
- Enh: remove the Arc<> on each strategy
- Implement Custom Stickiness for Variants
- Add Tokio ecossystem support HOT 9
- Make poll_for_updates Send HOT 2
- More informative warn logs HOT 2
- Client should handle 502 errors HOT 5
- Implement Global Segments HOT 1
- custom strategies that aren't configured into the client are hard to debug HOT 1
- poll_for_updates discussion HOT 5
- enh: use enum_dispatch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unleash-client-rust.