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

Update EU benchmark case study #1003

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

datejada
Copy link
Member

@datejada datejada commented Jan 15, 2025

Update EU benchmark to include representative periods and flexible temporal resolution

Related issues

Closes #1001

Checklist

  • I am following the contributing guidelines
  • [NA] Tests are passing
  • Lint workflow is passing
  • [NA] Docs were updated and workflow is passing

@datejada datejada requested a review from abelsiqueira January 15, 2025 17:26
@datejada datejada added the benchmark PR only - Run benchmark on PR label Jan 15, 2025
Copy link
Contributor

github-actions bot commented Jan 15, 2025

Benchmark Results

8322b5c... 4798a21... 8322b5c.../4798a217ef4804...
energy_problem/create_model 30.2 ± 1.1 s 30.9 ± 0.98 s 0.975
energy_problem/input_and_constructor 37 ± 0.46 s 37 ± 0.52 s 0.999
time_to_load 3.92 ± 0.023 s 3.9 ± 0.036 s 1
8322b5c... 4798a21... 8322b5c.../4798a217ef4804...
energy_problem/create_model 0.257 G allocs: 12.9 GB 0.257 G allocs: 12.9 GB 1
energy_problem/input_and_constructor 0.0436 G allocs: 1.67 GB 0.0436 G allocs: 1.67 GB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

@datejada datejada marked this pull request as ready for review January 15, 2025 17:35
@datejada
Copy link
Member Author

With 36 representatives:

Benchmark Results

8322b5c... f0f14d6... 8322b5c.../f0f14d623dfe17...
energy_problem/create_model 11 ± 0.96 s 9.42 ± 1.1 s 1.17
energy_problem/input_and_constructor 16.7 ± 0.46 s 15 ± 0.12 s 1.11
time_to_load 4.28 ± 0.11 s 4.16 ± 0.03 s 1.03
8322b5c... f0f14d6... 8322b5c.../f0f14d623dfe17...
energy_problem/create_model 0.0911 G allocs: 4.55 GB 0.0911 G allocs: 4.55 GB 1
energy_problem/input_and_constructor 16.4 M allocs: 0.63 GB 16.4 M allocs: 0.63 GB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

@datejada
Copy link
Member Author

I am running for 36 and 100 representative periods, so we can choose which one to leave for the benchmarks in GitHub

@datejada
Copy link
Member Author

With 100 representatives:

Benchmark Results

8322b5c... 4798a21... 8322b5c.../4798a217ef4804...
energy_problem/create_model 30.2 ± 1.1 s 30.9 ± 0.98 s 0.975
energy_problem/input_and_constructor 37 ± 0.46 s 37 ± 0.52 s 0.999
time_to_load 3.92 ± 0.023 s 3.9 ± 0.036 s 1
8322b5c... 4798a21... 8322b5c.../4798a217ef4804...
energy_problem/create_model 0.257 G allocs: 12.9 GB 0.257 G allocs: 12.9 GB 1
energy_problem/input_and_constructor 0.0436 G allocs: 1.67 GB 0.0436 G allocs: 1.67 GB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

@datejada
Copy link
Member Author

datejada commented Jan 15, 2025

@abelsiqueira I think the one with 100 representatives is better for benchmarking, but let me know what you think 😃 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark PR only - Run benchmark on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update benchmark case study
1 participant