Skip to content

Commit dac6a86

Browse files
committed
keep only what is needed for the PR comment
1 parent d71c196 commit dac6a86

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/performance/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { runMain } from '../lib/executionUtils.ts'
22
import { calculateBundleSizes } from '../lib/computeBundleSize.ts'
33
import { reportAsPrComment } from './lib/reportAsAPrComment.ts'
4-
import { reportToDatadog } from './lib/reportToDatadog.ts'
5-
import { computeCpuPerformance } from './lib/computeCpuPerformance.ts'
64
import { computeMemoryPerformance } from './lib/computeMemoryPerformance.ts'
75

86
interface UncompressedBundleSizes {
@@ -12,9 +10,6 @@ interface UncompressedBundleSizes {
1210
runMain(async () => {
1311
const localBundleSizes = extractUncompressedBundleSizes(calculateBundleSizes())
1412
const localMemoryPerformance = await computeMemoryPerformance()
15-
await computeCpuPerformance()
16-
await reportToDatadog(localMemoryPerformance, 'memoryPerformance')
17-
await reportToDatadog(localBundleSizes, 'bundleSizes')
1813
await reportAsPrComment(localBundleSizes, localMemoryPerformance)
1914
})
2015

0 commit comments

Comments
 (0)