-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1.09 KB
/
all-match.yml
File metadata and controls
36 lines (29 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: All_Match
on:
push:
branches:
- all-match
- all-benchmarks
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 15
uses: actions/setup-node@v1
with:
node-version: 15
- name: Install
run: npm clean-install
- name: Build
run: npm run build
- name: Run Benchmark [COLLECTION_SIZE = 1K]
run: node --no-warnings --max-old-space-size=2048 ./build/lib/index.js -n AllMatchBenchmark -s 1000 -i 100 -t 10 -o All_Match-1K.log
- name: Run Benchmark [COLLECTION_SIZE = 100K]
run: node --no-warnings --max-old-space-size=2048 ./build/lib/index.js -n AllMatchBenchmark -s 100000 -i 100 -t 10 -o All_Match-100K.log
- name: Upload results
uses: actions/upload-artifact@v2
with:
name: All_Match
path: ./*.log