-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Context
We received an issue in Swift Distributed Tracing (apple/swift-distributed-tracing#165) about not being able to check out the library on Windows. Upon inspection, we found the issue to be the file names of some of our Benchmark thresholds. In our case, the Benchmark names contained a : which isn't valid in file paths on Windows.
Solution
For now, we'll simply fix this problem by replacing the colons in our Benchmark names. I was wondering though if longterm this could be prevented by package-benchmark in the first place to avoid folks from running into similar issues. One option that came to mind is to hash the Benchmark name and use that hash as file name. This would come at the cost of not being able to easily navigate around threshold files but I'm not sure if that's a valid concern. What do you think?