Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameter for benchamrk size, default to 100 #105

Merged
merged 2 commits into from
Oct 20, 2023
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
9 changes: 8 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ concurrency:

on:
workflow_dispatch:
inputs:
size:
description: 'number of features to load'
required: true
default: 100
type: number

push:
branches:
- main
Expand Down Expand Up @@ -63,7 +70,7 @@ jobs:
run: ./scripts/restart.sh

- name: Run Benchmark
run: ./tests/benchmark/time.sh
run: ./tests/benchmark/time.sh ${{ inputs.size }}

- name: Create plots
run: ./tests/benchmark/plot.py
Expand Down
3 changes: 2 additions & 1 deletion tests/benchmark/time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ OUTPUT_PATH="tests/benchmark/results"
mkdir -p ${OUTPUT_PATH}
rm -f ${OUTPUT_PATH}/benchmark.dat

SIZE=100000
SIZE=${1:-100}

LAYERS=( point_2056_10fields point_2056_10fields_local_geom nogeom_10fields nogeom_100fields line_2056_10fields line_2056_10fields_local_geom polygon_2056 polygon_2056_local_geom secretlayer )


Expand Down