-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingjsjoulesRelated to the JavaScript componentRelated to the JavaScript component
Description
When executing Diff-XJoules using Diff-JSJoules on jscodeshift, following the README, there is the following issue:
report /tmp/v1/diff-measurements/measurements.json sent
/home/benjamin/workspace/diff-xjoules/diff-jsjoules/src/diff-jsjoules.js:100
const tlpc_report = JSON.parse(readFileSync(`${absolute_project_path}/diff-measurements/measurements.json`))
^
SyntaxError: Unexpected token in JSON at position 813
at JSON.parse (<anonymous>)
at convert_tlpc_report_to_diff_xjoules_report (/home/benjamin/workspace/diff-xjoules/diff-jsjoules/src/diff-jsjoules.js:100:28)
at execution_task (/home/benjamin/workspace/diff-xjoules/diff-jsjoules/src/diff-jsjoules.js:131:3)
at processTicksAndRejections (node:internal/process/task_queues:94:5)Which must come from:
"Templates_interpolates_expression_nodes_with_source_code�": {
"RAPL_ENERGY_PKG":1398013952,
"INSTRUCTIONS_RETIRED":51142295,
"LLC_MISSES":493409,
"CYCLES":49840071,
"duration":16660245
},However, the execution on jscodeshift can be completed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingjsjoulesRelated to the JavaScript componentRelated to the JavaScript component