Skip to content

Commit b334a8b

Browse files
committed
(fix): typo
1 parent ca8ef12 commit b334a8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ function removeField(button) {
7878
const data = json.data;
7979
const uuid = data?.['comparison_identifiers']?.[0];
8080

81-
let cpu_energy = data?.['data']?.['?.[RUNTIME]']?.['data']?.['cpu_energy_rapl_msr_component']?.['data']?.['Package_0']?.['data']?.[uuid]?.['mean'];
82-
const total_duration = data?.['data']?.['?.[RUNTIME]']?.['data']?.['phase_time_syscall_system']?.['data']?.['?.[SYSTEM]']?.['data']?.[uuid]?.['mean'];
83-
const network_transfer = data?.['data']?.['?.[RUNTIME]']?.['data']?.['network_io_cgroup_container']?.['data']?.['gmt-playwright-nodejs']?.['data']?.[uuid]?.['mean'];
81+
let cpu_energy = data?.['data']?.['[RUNTIME]']?.['data']?.['cpu_energy_rapl_msr_component']?.['data']?.['Package_0']?.['data']?.[uuid]?.['mean'];
82+
const total_duration = data?.['data']?.['[RUNTIME]']?.['data']?.['phase_time_syscall_system']?.['data']?.['?.[SYSTEM]']?.['data']?.[uuid]?.['mean'];
83+
const network_transfer = data?.['data']?.['[RUNTIME]']?.['data']?.['network_io_cgroup_container']?.['data']?.['gmt-playwright-nodejs']?.['data']?.[uuid]?.['mean'];
8484

8585
cpu_power = (cpu_energy/total_duration).toFixed(2);
8686
const network_carbon = (((network_transfer / 1e9) * 0.06)*300*10000).toFixed(2);

0 commit comments

Comments
 (0)