Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

perf: Store perf bundle and results to CI artifacts #2256

Merged
merged 2 commits into from
Jan 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ jobs:
yarn danger ci
fi
- store_artifacts:
path: dist/artifacts
destination: artifacts
path: packages/perf-test/dist
destination: artifacts/perf
- run:
name: Publish npm package (master only)
command: |
Expand Down
10 changes: 0 additions & 10 deletions build/dangerjs/checkPerfRegressions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as _ from 'lodash'
import * as fs from 'fs-extra'
import * as path from 'path'

import { DangerJS } from './types'
Expand Down Expand Up @@ -43,15 +42,6 @@ function fluentFabricComparision(danger, markdown, warn) {
},
)

fs.mkdirpSync(config.paths.ciArtifacts('perf'))

_.forEach(results, value => {
fs.copyFileSync(
value.fluentFlamegraphFile,
config.paths.ciArtifacts('perf', path.basename(value.fluentFlamegraphFile)),
)
})

const getStatus = fluentToFabric =>
fluentToFabric > 1 ? '🔧' : fluentToFabric >= 0.7 ? '🎯' : '🦄'

Expand Down