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

Add Panel and HoloViews benchmark #74

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Use single timing per setup-teardown call for Panel-based benchmarks
ianthomas23 committed Oct 26, 2023
commit 89ad5f595dca45b840bcbaf960db67b7d8e26ff3
1 change: 0 additions & 1 deletion benchmarks/benchmarks/base.py
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@


class Base:
# Force a single benchmark timing for each setup-teardown call, and no warmup required.
number = 1
warmup_time = 0

4 changes: 4 additions & 0 deletions benchmarks/benchmarks/panel_holoviews_example.py
Original file line number Diff line number Diff line change
@@ -28,6 +28,10 @@ def run_callback(click):


class PanelHoloviewsExample(Base):
# Force a single benchmark timing for each setup-teardown call.
repeat = 1
rounds = 5

params: tuple[list[int], list[str]] = (
[1_000, 10_000, 100_000, 1_000_000],
["canvas", "webgl"],