Skip to content

Commit

Permalink
Remove the old benchmarks in the bench folder (internal-867)
Browse files Browse the repository at this point in the history
* remove old benchmarks

* more cleanup
  • Loading branch information
mourner authored and stepankuzmin committed Nov 7, 2023
1 parent 8e6396d commit 8ed536a
Show file tree
Hide file tree
Showing 48 changed files with 11 additions and 3,870 deletions.
29 changes: 1 addition & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,6 @@ workflows:
ignore: /.*/
branches:
only: main
- deploy-benchmarks:
requires:
- install-mbx-ci
- build
filters:
tags:
only: /v[0-9]+.[0-9]+.[0-9]+(-.+)?/
branches:
only:
- main
- /release-.*/
- deploy-release:
requires:
- install-mbx-ci
Expand Down Expand Up @@ -389,22 +378,6 @@ jobs:
at: ~/
- run: yarn run test-expressions

deploy-benchmarks:
<<: *linux-defaults
steps:
- attach_workspace:
at: ~/
- run:
name: Build
command: BENCHMARK_VERSION="${CIRCLE_TAG:-$CIRCLE_BRANCH} $(git rev-parse --short=7 HEAD)" yarn run build-benchmarks
- aws-cli/install
- run:
name: Upload benchmark
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
- run:
name: Upload source maps
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

deploy-release:
<<: *linux-defaults
steps:
Expand Down Expand Up @@ -600,4 +573,4 @@ jobs:
name: Trigger SLA performance tests
command: |
sha=$(git rev-parse HEAD)
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\" } }"
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\" } }"
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ Once those commands finish, you will have a standalone build at `dist/mapbox-gl.

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

## Writing & Running Benchmarks

See [`bench/README.md`](./bench/README.md).

## Code Conventions

* We use [`error` events](https://www.mapbox.com/mapbox-gl-js/api/#Map.event:error) to report user errors.
Expand Down
5 changes: 0 additions & 5 deletions bench/.eslintrc

This file was deleted.

72 changes: 0 additions & 72 deletions bench/README.md

This file was deleted.

104 changes: 0 additions & 104 deletions bench/benchmarks/expressions.js

This file was deleted.

14 changes: 0 additions & 14 deletions bench/benchmarks/filter_create.js

This file was deleted.

49 changes: 0 additions & 49 deletions bench/benchmarks/filter_evaluate.js

This file was deleted.

50 changes: 0 additions & 50 deletions bench/benchmarks/hillshade_load.js

This file was deleted.

Loading

0 comments on commit 8ed536a

Please sign in to comment.