Skip to content

Commit 8ed536a

Browse files
mournerstepankuzmin
authored andcommitted
Remove the old benchmarks in the bench folder (internal-867)
* remove old benchmarks * more cleanup
1 parent 8e6396d commit 8ed536a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+11
-3870
lines changed

.circleci/config.yml

+1-28
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@ workflows:
101101
ignore: /.*/
102102
branches:
103103
only: main
104-
- deploy-benchmarks:
105-
requires:
106-
- install-mbx-ci
107-
- build
108-
filters:
109-
tags:
110-
only: /v[0-9]+.[0-9]+.[0-9]+(-.+)?/
111-
branches:
112-
only:
113-
- main
114-
- /release-.*/
115104
- deploy-release:
116105
requires:
117106
- install-mbx-ci
@@ -389,22 +378,6 @@ jobs:
389378
at: ~/
390379
- run: yarn run test-expressions
391380

392-
deploy-benchmarks:
393-
<<: *linux-defaults
394-
steps:
395-
- attach_workspace:
396-
at: ~/
397-
- run:
398-
name: Build
399-
command: BENCHMARK_VERSION="${CIRCLE_TAG:-$CIRCLE_BRANCH} $(git rev-parse --short=7 HEAD)" yarn run build-benchmarks
400-
- aws-cli/install
401-
- run:
402-
name: Upload benchmark
403-
command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js
404-
- run:
405-
name: Upload source maps
406-
command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js.map s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js.map
407-
408381
deploy-release:
409382
<<: *linux-defaults
410383
steps:
@@ -600,4 +573,4 @@ jobs:
600573
name: Trigger SLA performance tests
601574
command: |
602575
sha=$(git rev-parse HEAD)
603-
curl --location --request POST 'https://circleci.com/api/v2/project/github/mapbox/mapbox-gl-js-performance-internal/pipeline' --header 'Content-Type: application/json' -u $CIRCLECI_API_TOKEN: -d "{ \"parameters\": { \"setup_sha\": \"$sha\", \"setup_source_branch\": \"internal\" } }"
576+
curl --location --request POST 'https://circleci.com/api/v2/project/github/mapbox/mapbox-gl-js-performance-internal/pipeline' --header 'Content-Type: application/json' -u $CIRCLECI_API_TOKEN: -d "{ \"parameters\": { \"setup_sha\": \"$sha\", \"setup_source_branch\": \"internal\" } }"

CONTRIBUTING.md

-4
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ Once those commands finish, you will have a standalone build at `dist/mapbox-gl.
9999

100100
See [`test/README.md`](./test/README.md).
101101

102-
## Writing & Running Benchmarks
103-
104-
See [`bench/README.md`](./bench/README.md).
105-
106102
## Code Conventions
107103

108104
* We use [`error` events](https://www.mapbox.com/mapbox-gl-js/api/#Map.event:error) to report user errors.

bench/.eslintrc

-5
This file was deleted.

bench/README.md

-72
This file was deleted.

bench/benchmarks/expressions.js

-104
This file was deleted.

bench/benchmarks/filter_create.js

-14
This file was deleted.

bench/benchmarks/filter_evaluate.js

-49
This file was deleted.

bench/benchmarks/hillshade_load.js

-50
This file was deleted.

0 commit comments

Comments
 (0)