mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
Currently speedometer results are parsed by parsing the console output from stdout (or a file in the case of ohos). Currently json decode errors just cause mach to crash. Instead print an error message, point to the problematic location and exit. A crash can happen if something else also prints, e.g. on macos, we have the `xx threads are still running` message at shutdown. Hence this PR doesn't really fix the unreliable nature of the current implementation, but at least adds a helpful error message, which would point people in the right direction. Testing: test-speedometer is run in CI --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>