salesforce / best

:trophy: Delightful Benchmarking & Performance Testing
https://opensource.salesforce.com/best
MIT License
95 stars 10 forks source link

fix: store temporary files in unique folder to avoid race conditions #301

Closed dbajric closed 2 years ago

dbajric commented 2 years ago

Details

This PR resolves a race condition where concurrent benchmarks that happen to have the same benchmark name end up corrupting the temporary files because they are overwriting each other. By storing the temporary files in unique directories, this race condition cannot happen.

Does this PR introduce a breaking change?