Open olotenko opened 3 years ago
The change is tiny. It seems the script_copy_value is relevant exactly to this problem, and the order of the operations in wrk 4.1.0 is like in this request: https://github.com/wg/wrk/blob/9d71b2f/src/script.c#L495-L496.
script_copy_value
wrk
Manually checked the order of keys and values in for k, v in pairs(threads.get(...)) is correct now.
for k, v in pairs(threads.get(...))
The change is tiny. It seems the
script_copy_value
is relevant exactly to this problem, and the order of the operations inwrk
4.1.0 is like in this request: https://github.com/wg/wrk/blob/9d71b2f/src/script.c#L495-L496.Manually checked the order of keys and values in
for k, v in pairs(threads.get(...))
is correct now.