Skip to content

feat: add micro pascal #174

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

Merged
merged 1 commit into from
Mar 29, 2025
Merged

feat: add micro pascal #174

merged 1 commit into from
Mar 29, 2025

Conversation

MilesCranmer
Copy link
Member

cc @Ickaser

Also adds milli

Copy link
Contributor

Benchmark Results

main 1111759... main / 1111759...
Quantity/creation/Quantity(x) 2.79 ± 0 ns 3.1 ± 0.01 ns 0.9
Quantity/creation/Quantity(x, length=y) 3.43 ± 0.001 ns 3.73 ± 0.01 ns 0.919
Quantity/with_numbers/*real 3.41 ± 0.01 ns 2.79 ± 0.001 ns 1.22
Quantity/with_numbers/^int 8.68 ± 1.6 ns 8.37 ± 1.6 ns 1.04
Quantity/with_numbers/^int * real 8.98 ± 1.6 ns 8.99 ± 1.6 ns 0.999
Quantity/with_quantity/+y 4.04 ± 0.01 ns 4.35 ± 0.001 ns 0.929
Quantity/with_quantity//y 3.11 ± 0.001 ns 3.42 ± 0.01 ns 0.909
Quantity/with_self/dimension 3.1 ± 0.01 ns 3.11 ± 0.01 ns 0.997
Quantity/with_self/inv 3.42 ± 0.011 ns 3.11 ± 0.001 ns 1.1
Quantity/with_self/ustrip 2.79 ± 0.01 ns 3.11 ± 0.01 ns 0.9
QuantityArray/broadcasting/multi_array_of_quantities 0.0876 ± 0.0012 ms 0.0878 ± 0.0011 ms 0.998
QuantityArray/broadcasting/multi_normal_array 0.0496 ± 0.0024 ms 0.0497 ± 0.0021 ms 0.999
QuantityArray/broadcasting/multi_quantity_array 0.053 ± 0.00039 ms 0.053 ± 0.0034 ms 1
QuantityArray/broadcasting/x^2_array_of_quantities 13.1 ± 1.8 μs 13.6 ± 1.4 μs 0.961
QuantityArray/broadcasting/x^2_normal_array 2.24 ± 1.6 μs 2.16 ± 0.97 μs 1.04
QuantityArray/broadcasting/x^2_quantity_array 6.49 ± 0.13 μs 3.49 ± 0.27 μs 1.86
QuantityArray/broadcasting/x^4_array_of_quantities 0.0845 ± 0.0031 ms 0.0814 ± 0.0011 ms 1.04
QuantityArray/broadcasting/x^4_normal_array 0.0496 ± 0.0031 ms 0.0497 ± 0.00026 ms 0.999
QuantityArray/broadcasting/x^4_quantity_array 0.0481 ± 0.0092 ms 0.0497 ± 0.0092 ms 0.967
time_to_load 0.196 ± 0.00066 s 0.198 ± 0.0026 s 0.992

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).

@MilesCranmer MilesCranmer merged commit 6d839bd into main Mar 29, 2025
8 checks passed
@MilesCranmer MilesCranmer deleted the micro-pascal branch March 29, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant