James Wilson
0b0cec0512
Make soak tests work again now that we subscribe by genesis hash ( #399 )
...
* Make soak tests work again with genesis hash subscribing
* cargo fmt
* derive hex from hash
* actually compile code
* fmt
Co-authored-by: David Palm <dvdplm@gmail.com >
2021-09-10 11:28:34 +01:00
James Wilson
7a3e30cb01
Don't remove all feeds subscribed to a chain when one disconnects ( #383 )
...
* Only remove the feed that disconnected to not break the rest...
* use multimap struct to avoid sync issues between feed and chain
* add a remove test, too
* cargo fmt
* fix name of test
* move multimap to common so we can doctest it and add 'unique' to name
* cargo fmt
* Return old key if value moved to make uniqueness more obvious
2021-08-27 08:05:44 +01:00
James Wilson
05a3ba3fef
Fix/expand a few comments
2021-08-12 16:20:05 +01:00
James Wilson
230987036a
cargo fmt
2021-08-12 16:01:35 +01:00
James Wilson
f72f8c1fd5
test runner: fix soak test for multiple ids per ndoe
2021-08-12 16:01:24 +01:00
James Wilson
20463ce159
test runner: enable tokio features
2021-08-12 16:01:19 +01:00
James Wilson
e3fcd4e8c2
Clean up soak test runner and add more config options
2021-08-12 16:01:18 +01:00
James Wilson
c99cbee1e9
Allow multiple aggregator loops in the core to try and spread feed subscription/send cost out
2021-08-07 17:08:58 +01:00
James Wilson
88c3db3562
cargo fmt
2021-08-06 17:44:26 +01:00
James Wilson
74cf55174e
Use rayon to speed up subscribe message serializing
2021-08-06 17:42:03 +01:00
James Wilson
0788270756
Add 'subscribe' benchmark
2021-08-06 14:22:01 +01:00
James Wilson
2dae6c90ce
Keep file handle limit comment in sync
2021-08-05 12:22:22 +01:00
James Wilson
acfe3d45d1
num-cpus to worker-threads; more accurate name
2021-08-05 11:31:47 +01:00
James Wilson
5c5c7e592a
allow configuration of cpus in soak tests
2021-08-05 11:16:10 +01:00
James Wilson
7d00d72baa
Small tweak to make it more obvious when feeds are disconnected
2021-08-04 10:52:53 +01:00
James Wilson
db5284a3db
Add a comment explaining realistic_soak_test and --release on all
2021-08-03 15:42:42 +01:00
James Wilson
5d81128e74
create more realistic soak test so that we can see a more representative UI in action
2021-08-03 15:40:20 +01:00
James Wilson
b70ab9ed3d
Add license to the top of each source file
2021-07-29 17:34:40 +01:00
James Wilson
2ca5f6a1fb
cargo fmt
2021-07-27 12:38:05 +01:00
James Wilson
cca1df2e21
use ws_client in shard, too, and make it better at handling core disconnecting
2021-07-20 13:04:10 +01:00
James Wilson
36c4e7b0ef
Remove flamegraph bits
2021-07-19 17:11:31 +01:00
James Wilson
73a4dbb095
Allow tests to hook up to running process to help with profiling
2021-07-19 15:57:39 +01:00
James Wilson
f77afe0b75
avoid overquota in soak tests
2021-07-16 18:07:10 +01:00
James Wilson
582c49413b
Make server able to run old or new binary so that we can compare the actix version with this one
2021-07-16 17:58:26 +01:00
James Wilson
fd79b3e85b
Add some tests, and add a configurable soak test
2021-07-15 17:18:58 +01:00