Skip to content

Conversation

@icweaver
Copy link
Contributor

@icweaver icweaver commented Aug 6, 2025

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2025

Benchmark Results (Julia v1.10)

Time benchmarks
main 7a633f1... main / 7a633f1...
Quantity/creation/Quantity(x) 3.41 ± 0.001 ns 3.42 ± 0.01 ns 0.997 ± 0.0029
Quantity/creation/Quantity(x, length=y) 3.11 ± 0.01 ns 3.11 ± 0.01 ns 1 ± 0.0046
Quantity/with_numbers/*real 3.1 ± 0.01 ns 3.51 ± 0.041 ns 0.883 ± 0.011
Quantity/with_numbers/^int 8.05 ± 2.2 ns 8.05 ± 2.2 ns 1 ± 0.38
Quantity/with_numbers/^int * real 8.69 ± 2.5 ns 8.67 ± 2.5 ns 1 ± 0.4
Quantity/with_quantity/+y 4.04 ± 0.01 ns 4.91 ± 0.051 ns 0.823 ± 0.0088
Quantity/with_quantity//y 3.42 ± 0.011 ns 3.42 ± 0.01 ns 1 ± 0.0044
Quantity/with_self/dimension 3.1 ± 0.01 ns 3.11 ± 0.01 ns 0.997 ± 0.0045
Quantity/with_self/inv 3.11 ± 0.01 ns 3.17 ± 0.92 ns 0.981 ± 0.29
Quantity/with_self/ustrip 2.79 ± 0.01 ns 2.79 ± 0.01 ns 0.997 ± 0.0051
QuantityArray/broadcasting/multi_array_of_quantities 0.144 ± 0.0013 ms 0.143 ± 0.0014 ms 1.01 ± 0.014
QuantityArray/broadcasting/multi_normal_array 0.056 ± 0.003 ms 0.0536 ± 0.0031 ms 1.04 ± 0.083
QuantityArray/broadcasting/multi_quantity_array 0.155 ± 0.0037 ms 0.155 ± 0.0037 ms 1 ± 0.034
QuantityArray/broadcasting/x^2_array_of_quantities 26.7 ± 2.4 μs 27.2 ± 2.5 μs 0.985 ± 0.13
QuantityArray/broadcasting/x^2_normal_array 5.94 ± 0.74 μs 5.81 ± 0.49 μs 1.02 ± 0.15
QuantityArray/broadcasting/x^2_quantity_array 7.01 ± 0.28 μs 7.03 ± 0.38 μs 0.997 ± 0.067
QuantityArray/broadcasting/x^4_array_of_quantities 0.0819 ± 0.0007 ms 0.0819 ± 0.00069 ms 1 ± 0.012
QuantityArray/broadcasting/x^4_normal_array 0.0499 ± 0.00022 ms 0.0499 ± 0.00021 ms 1 ± 0.0061
QuantityArray/broadcasting/x^4_quantity_array 0.0531 ± 0.00027 ms 0.0532 ± 0.00023 ms 0.999 ± 0.0067
time_to_load 0.192 ± 0.00094 s 0.19 ± 0.0027 s 1.01 ± 0.015
Memory benchmarks
main 7a633f1... main / 7a633f1...
Quantity/creation/Quantity(x) 0 allocs: 0 B 0 allocs: 0 B
Quantity/creation/Quantity(x, length=y) 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/*real 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/^int 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/^int * real 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_quantity/+y 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_quantity//y 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/dimension 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/inv 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/ustrip 0 allocs: 0 B 0 allocs: 0 B
QuantityArray/broadcasting/multi_array_of_quantities 2 allocs: 0.382 MB 2 allocs: 0.382 MB 1
QuantityArray/broadcasting/multi_normal_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
QuantityArray/broadcasting/multi_quantity_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
QuantityArray/broadcasting/x^2_array_of_quantities 2 allocs: 0.382 MB 2 allocs: 0.382 MB 1
QuantityArray/broadcasting/x^2_normal_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
QuantityArray/broadcasting/x^2_quantity_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
QuantityArray/broadcasting/x^4_array_of_quantities 2 allocs: 0.382 MB 2 allocs: 0.382 MB 1
QuantityArray/broadcasting/x^4_normal_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
QuantityArray/broadcasting/x^4_quantity_array 2 allocs: 0.0763 MB 2 allocs: 0.0763 MB 1
time_to_load 0.153 k allocs: 14.5 kB 0.153 k allocs: 14.5 kB 1

@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2025

Benchmark Results (Julia v1)

Time benchmarks
main 7a633f1... main / 7a633f1...
Quantity/creation/Quantity(x) 4.02 ± 0.01 ns 3.1 ± 0.01 ns 1.3 ± 0.0053
Quantity/creation/Quantity(x, length=y) 3.43 ± 0.01 ns 4.34 ± 0.01 ns 0.79 ± 0.0029
Quantity/with_numbers/*real 3.1 ± 0.01 ns 2.79 ± 0.001 ns 1.11 ± 0.0036
Quantity/with_numbers/^int 8.67 ± 1.9 ns 8.68 ± 1.4 ns 0.999 ± 0.27
Quantity/with_numbers/^int * real 9.29 ± 2.2 ns 9.29 ± 1.6 ns 1 ± 0.29
Quantity/with_quantity/+y 4.35 ± 0.01 ns 4.35 ± 0.009 ns 1 ± 0.0031
Quantity/with_quantity//y 3.11 ± 0 ns 3.41 ± 0.01 ns 0.912 ± 0.0027
Quantity/with_self/dimension 3.11 ± 0.001 ns 3.11 ± 0.01 ns 1 ± 0.0032
Quantity/with_self/inv 3.11 ± 0.01 ns 3.11 ± 0.001 ns 1 ± 0.0032
Quantity/with_self/ustrip 2.79 ± 0.01 ns 3.1 ± 0.01 ns 0.903 ± 0.0044
QuantityArray/broadcasting/multi_array_of_quantities 0.0906 ± 0.00072 ms 0.0905 ± 0.00086 ms 1 ± 0.012
QuantityArray/broadcasting/multi_normal_array 0.0528 ± 0.00023 ms 0.0498 ± 0.00028 ms 1.06 ± 0.0076
QuantityArray/broadcasting/multi_quantity_array 0.0623 ± 0.00032 ms 0.0623 ± 0.00028 ms 1 ± 0.0069
QuantityArray/broadcasting/x^2_array_of_quantities 13 ± 1.8 μs 12.9 ± 2.2 μs 1.01 ± 0.22
QuantityArray/broadcasting/x^2_normal_array 2.06 ± 1.4 μs 2.02 ± 1.2 μs 1.02 ± 0.92
QuantityArray/broadcasting/x^2_quantity_array 3.48 ± 0.12 μs 3.45 ± 0.12 μs 1.01 ± 0.049
QuantityArray/broadcasting/x^4_array_of_quantities 0.0845 ± 0.00042 ms 0.0842 ± 0.00054 ms 1 ± 0.0082
QuantityArray/broadcasting/x^4_normal_array 0.0497 ± 0.00016 ms 0.0497 ± 0.00015 ms 1 ± 0.0044
QuantityArray/broadcasting/x^4_quantity_array 0.0529 ± 0.00018 ms 0.0468 ± 0.00028 ms 1.13 ± 0.0078
time_to_load 0.198 ± 0.0013 s 0.197 ± 0.0012 s 1.01 ± 0.0091
Memory benchmarks
main 7a633f1... main / 7a633f1...
Quantity/creation/Quantity(x) 0 allocs: 0 B 0 allocs: 0 B
Quantity/creation/Quantity(x, length=y) 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/*real 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/^int 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_numbers/^int * real 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_quantity/+y 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_quantity//y 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/dimension 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/inv 0 allocs: 0 B 0 allocs: 0 B
Quantity/with_self/ustrip 0 allocs: 0 B 0 allocs: 0 B
QuantityArray/broadcasting/multi_array_of_quantities 3 allocs: 0.382 MB 3 allocs: 0.382 MB 1
QuantityArray/broadcasting/multi_normal_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
QuantityArray/broadcasting/multi_quantity_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
QuantityArray/broadcasting/x^2_array_of_quantities 3 allocs: 0.382 MB 3 allocs: 0.382 MB 1
QuantityArray/broadcasting/x^2_normal_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
QuantityArray/broadcasting/x^2_quantity_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
QuantityArray/broadcasting/x^4_array_of_quantities 3 allocs: 0.382 MB 3 allocs: 0.382 MB 1
QuantityArray/broadcasting/x^4_normal_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
QuantityArray/broadcasting/x^4_quantity_array 3 allocs: 0.0764 MB 3 allocs: 0.0764 MB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

@codecov
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.21%. Comparing base (3e4e19d) to head (7a633f1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #184   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files          21       21           
  Lines        1273     1273           
=======================================
  Hits         1263     1263           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MilesCranmer MilesCranmer merged commit 725e48d into JuliaPhysics:main Aug 7, 2025
7 checks passed
@icweaver icweaver deleted the patch-1 branch August 7, 2025 04:44
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.

2 participants