benchmark-action / benchmark-action/github-action-benchmark

JSON.parse failure on first benchmark run?

Open
#162 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm trying to setup benchmarks for a project of mine (PR can be found here: https://github.com/luc-tielen/eclair-lang/pull/128)

I tried a lot of different things, but I keep getting the following error: `Error: Output file for 'custom-(bigger|smaller)-is-better' must be JSON file containing an array of entries in BenchmarkResult format: Unexpected token ' in JSON at position 0`.

It looks like the code can't read the previous benchmark result or fails to parse it as JSON. The output that's written to the benchmark file is a valid JSON array though..

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.