Carl Lerche
a78b1c65cc
rt: cleanup and simplify scheduler (scheduler v2.5) ( #2273 )
...
A refactor of the scheduler internals focusing on simplifying and
reducing unsafety. There are no fundamental logic changes.
* The state transitions of the core task component are refined and
reduced.
* `basic_scheduler` has most unsafety removed.
* `local_set` has most unsafety removed.
* `threaded_scheduler` limits most unsafety to its queue implementation.
2020-03-05 10:31:37 -08:00
Lucio Franco
4a24c7063b
sync: add mpsc benchmark ( #2166 )
2020-01-27 20:48:35 -08:00
Carl Lerche
50b91c0247
chore: move benches to separate crate ( #2028 )
...
This allows the `benches` crate to depend on `tokio` with all feature
flags. This is a similar strategy used for `examples`.
2019-12-24 20:53:20 -08:00
Carl Lerche
cb4aea394e
Update Tokio to Rust 2018 ( #1082 )
2019-05-14 10:27:36 -07:00
Carl Lerche
80162306e7
chore: apply rustfmt to all crates ( #917 )
2019-02-21 11:56:15 -08:00
Carl Lerche
ab07733d66
Deprecate executor re-exports ( #412 )
2018-06-12 14:41:12 -07:00
Carl Lerche
1f91a890b4
Fix benches ( #188 )
...
Some of the benchhmarks were broken and/or using deprecated APIs. This
patch updates the benches and requires them all to compile without
warnings in order to pass CI.
2018-03-06 14:40:09 -08:00
Roman
8605d5d243
Make benches compilable again ( #133 )
2018-02-13 10:02:06 -08:00
Alex Crichton
108e1a2c1a
Blanket rename Core to Reactor
...
This commit uses a script to rename `Core` to `Reactor` all at once, notably:
find . -name '*.rs' | xargs sed -i 's/\bCore\b/Reactor/g'
2017-12-05 09:02:07 -08:00
Carl Lerche
b23a997cb8
Remove deprecated code.
...
This commit removes code that was deprecated in tokio-core master.
2017-10-30 16:37:15 -07:00
Carl Lerche
36aaaa1520
Rename crate to tokio
2017-10-30 16:37:00 -07:00
Carl Lerche
9cd80f1cbd
TCP reactor benchmarks
2017-05-30 11:23:34 -07:00
Alex Crichton
8383e8bf7a
Remove deprecated benchmark
2017-03-15 22:38:23 -07:00
Alex Crichton
4994f762a9
Fix benchmark on nightly
2016-11-19 10:02:12 -08:00
Alex Crichton
3d69a8b7d0
Add a benchmark for futures channel latency
2016-11-10 20:10:02 -08:00
Alex Crichton
bbea632e04
Touch up some of the benchmarks
2016-11-10 19:50:44 -08:00
Dawid Ciężarkiewicz
7ae124077e
Improve latency benchmarks.
2016-11-10 14:21:37 -08:00
Dawid Ciężarkiewicz
d1a2a9d324
Add channel_lantency and fix previous issues.
...
Warmup round before actually performing the test seems to eliminate
variance.
2016-11-08 19:01:37 -08:00
Dawid Ciężarkiewicz
8e7ed8ae21
Add some benchmarks.
...
To be moved into separate repo.
2016-11-04 22:06:08 -07:00