Commit Graph
6 Commits
Author SHA1 Message Date
tomer doron 95cf94e4ad add script to help setup performance measuring in linux (#12)
motivation: performance tuning

changes: add script with setup code and example for running strace and perf
2020-03-06 15:23:03 -08:00
tomer doron 3fc1b1ae5a Scale test iterations independently (#6) 2020-03-05 13:51:30 -08:00
Tom Doron 209906d390 performance improvments (#17)
motivation: better performance

changes:
* simply url configuration to ip and port so we can reoslve the socket add ress faster
* skip happy eyeballs
* limit eventloop group to 1 thread
* remove use of UUID and URL
* fix backtrace url
2020-03-04 13:54:55 -08:00
Tom Doron c3d4ad5a39 performance tests (#16)
motivation: benchmark for comparison of warm/cold runs

changes:
* refactor configuration
* add mock server that can be used by perf tests
* add simple perf test script
* change redundant classes to structs, make remaining classes final
* make offloading opt-in
* safer locking
* fix format
2020-03-04 11:01:15 -08:00
Tom Doron c31ee33105 refactor (#12)
motivation: make code simpler to reason about, better use of swift-nio

changes:
* remove main loop on global queue + wait, replace with recursion
* make better use of EvenLoopFuture, instead of result types to signal errors
* inject lifecycleId so we can share offloading queue
* improve logging
* adjust and improve tests
* update sanity and generate linux tests script to work better with dates and swiftformat
2019-09-16 10:05:02 +01:00
tomer doron 93c9cfdf63 initial commit 2018-11-13 17:48:44 -08:00