mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01:00
Merge #425
425: Push the result of the benchmarks to influxdb r=irevoire a=irevoire Now execute a benchmark for every PR merged into main and then upload the results to influxdb. Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
4cae691b86
@ -1,10 +1,12 @@
|
|||||||
name: Benchmarks indexing (cron)
|
name: Benchmarks indexing (push)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: "30 0 * * FRI" # every friday at 00:30
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
|
||||||
BENCH_NAME: "indexing"
|
BENCH_NAME: "indexing"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -61,6 +63,10 @@ jobs:
|
|||||||
source: ${{ steps.file.outputs.basename }}.json
|
source: ${{ steps.file.outputs.basename }}.json
|
||||||
out_dir: critcmp_results
|
out_dir: critcmp_results
|
||||||
|
|
||||||
|
# Upload benchmarks to influxdb
|
||||||
|
- name: Upload ${{ steps.file.outputs.basename }}.json to influxDB
|
||||||
|
run: telegraf --config https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/telegrafs/08b52e34a370b000 --once --debug
|
||||||
|
|
||||||
# Helper
|
# Helper
|
||||||
- name: 'README: compare with another benchmark'
|
- name: 'README: compare with another benchmark'
|
||||||
run: |
|
run: |
|
@ -1,11 +1,13 @@
|
|||||||
name: Benchmarks search geo (cron)
|
name: Benchmarks search geo (push)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: "30 18 * * FRI" # every friday at 18:30
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BENCH_NAME: "search_geo"
|
BENCH_NAME: "search_geo"
|
||||||
|
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
benchmarks:
|
benchmarks:
|
||||||
@ -61,6 +63,10 @@ jobs:
|
|||||||
source: ${{ steps.file.outputs.basename }}.json
|
source: ${{ steps.file.outputs.basename }}.json
|
||||||
out_dir: critcmp_results
|
out_dir: critcmp_results
|
||||||
|
|
||||||
|
# Upload benchmarks to influxdb
|
||||||
|
- name: Upload ${{ steps.file.outputs.basename }}.json to influxDB
|
||||||
|
run: telegraf --config https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/telegrafs/08b52e34a370b000 --once --debug
|
||||||
|
|
||||||
# Helper
|
# Helper
|
||||||
- name: 'README: compare with another benchmark'
|
- name: 'README: compare with another benchmark'
|
||||||
run: |
|
run: |
|
@ -1,11 +1,13 @@
|
|||||||
name: Benchmarks search songs (cron)
|
name: Benchmarks search songs (push)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: "30 08 * * FRI" # every friday at 08:30
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BENCH_NAME: "search_songs"
|
BENCH_NAME: "search_songs"
|
||||||
|
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
benchmarks:
|
benchmarks:
|
||||||
@ -61,6 +63,10 @@ jobs:
|
|||||||
source: ${{ steps.file.outputs.basename }}.json
|
source: ${{ steps.file.outputs.basename }}.json
|
||||||
out_dir: critcmp_results
|
out_dir: critcmp_results
|
||||||
|
|
||||||
|
# Upload benchmarks to influxdb
|
||||||
|
- name: Upload ${{ steps.file.outputs.basename }}.json to influxDB
|
||||||
|
run: telegraf --config https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/telegrafs/08b52e34a370b000 --once --debug
|
||||||
|
|
||||||
# Helper
|
# Helper
|
||||||
- name: 'README: compare with another benchmark'
|
- name: 'README: compare with another benchmark'
|
||||||
run: |
|
run: |
|
@ -1,11 +1,13 @@
|
|||||||
name: Benchmarks search wikipedia articles (cron)
|
name: Benchmarks search wikipedia articles (push)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: "30 16 * * FRI" # every friday at 16:30 (it’s snacky snack-time!)
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BENCH_NAME: "search_wiki"
|
BENCH_NAME: "search_wiki"
|
||||||
|
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
benchmarks:
|
benchmarks:
|
||||||
@ -61,6 +63,10 @@ jobs:
|
|||||||
source: ${{ steps.file.outputs.basename }}.json
|
source: ${{ steps.file.outputs.basename }}.json
|
||||||
out_dir: critcmp_results
|
out_dir: critcmp_results
|
||||||
|
|
||||||
|
# Upload benchmarks to influxdb
|
||||||
|
- name: Upload ${{ steps.file.outputs.basename }}.json to influxDB
|
||||||
|
run: telegraf --config https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/telegrafs/08b52e34a370b000 --once --debug
|
||||||
|
|
||||||
# Helper
|
# Helper
|
||||||
- name: 'README: compare with another benchmark'
|
- name: 'README: compare with another benchmark'
|
||||||
run: |
|
run: |
|
Loading…
x
Reference in New Issue
Block a user