Timing (#1)
* Adding timing-sensitive load test option in h2load. * more checks added for parameters * A worker thread can control its clients' warmup and main duration. * Changed warmup to an enum variable. * removed unnecessary call to ev_timer_stop * assertion is done before starting main measurement phase * phase variable is implemented only inside the Worker class * enum to enum class * else indentation corrected * check added for timing-based test when duration CB is called explicitly * New argument is introduced for timing-based benchmarking. * styling corrections * duration watcher initialization is pushed back into warmup timeout * Warmup and Duration timer is moved to Worker instead of clients. Now both timers and phase belongs to the Workers. * some client functions are modified to return if it's not main_duration phase. client is not destructed but sessions are terminated * outputs are adjusted for thread. * Needed to check if a session exist before terminating * formatting * more formatting * formatting
Showing
This diff is collapsed.
Please register or sign in to comment