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

Ensure some time scales and coordinate origins are correct #131

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

akoumjian
Copy link
Contributor

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python Benchmark

Benchmark suite Current: 83d0e66 Previous: 3d2a90d Ratio
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=equatorial,-to=SphericalCoordinates,] 417.5721270798145 iter/sec (stddev: 0.00010484195794089518) 432.30451703115165 iter/sec (stddev: 0.00011164682831696494) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=equatorial,-to=KeplerianCoordinates,] 283.2917848161115 iter/sec (stddev: 0.00023629452255948452) 294.5708356248617 iter/sec (stddev: 0.00019641552542132203) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=equatorial,-to=CometaryCoordinates,] 305.30266148703544 iter/sec (stddev: 0.00017827076618158878) 322.2904797656551 iter/sec (stddev: 0.00015456530584201782) 1.06
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=ecliptic,-to=SphericalCoordinates,] 432.9110304402068 iter/sec (stddev: 0.0000341522632962166) 436.9647577244637 iter/sec (stddev: 0.00004331397408696329) 1.01
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=ecliptic,-to=KeplerianCoordinates,] 298.87039377673807 iter/sec (stddev: 0.00012427084515168925) 307.86089976370465 iter/sec (stddev: 0.000025930693613758257) 1.03
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[1-origin=SUN,-frame=ecliptic,-to=CometaryCoordinates,] 315.91087138953765 iter/sec (stddev: 0.00009665693321508333) 331.73124956934424 iter/sec (stddev: 0.00005997348523250627) 1.05
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=equatorial,-to=SphericalCoordinates,] 404.70829231772404 iter/sec (stddev: 0.00034246765964518857) 420.40046112743784 iter/sec (stddev: 0.000039063819774274005) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=equatorial,-to=KeplerianCoordinates,] 251.98852206400545 iter/sec (stddev: 0.00008343992156974896) 261.6815762762976 iter/sec (stddev: 0.000059592349988673223) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=equatorial,-to=CometaryCoordinates,] 253.897594670506 iter/sec (stddev: 0.00014672078060883861) 264.055446996967 iter/sec (stddev: 0.0001524297482406814) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=ecliptic,-to=SphericalCoordinates,] 406.28007477286434 iter/sec (stddev: 0.00003532440427482805) 410.6810938631765 iter/sec (stddev: 0.00007277184332856659) 1.01
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=ecliptic,-to=KeplerianCoordinates,] 254.2373233329147 iter/sec (stddev: 0.0001343415125601309) 257.51360098189735 iter/sec (stddev: 0.000024477021675666605) 1.01
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[50-origin=SUN,-frame=ecliptic,-to=CometaryCoordinates,] 267.6969812603451 iter/sec (stddev: 0.00009332600702501076) 267.75268394677875 iter/sec (stddev: 0.00002717670296936621) 1.00
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=equatorial,-to=SphericalCoordinates,] 405.3322483539018 iter/sec (stddev: 0.000029269039668164722) 388.81277195579185 iter/sec (stddev: 0.000028752595255949453) 0.96
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=equatorial,-to=KeplerianCoordinates,] 223.20615646313325 iter/sec (stddev: 0.00005445771316294117) 228.0691122925848 iter/sec (stddev: 0.00006360151830342465) 1.02
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=equatorial,-to=CometaryCoordinates,] 224.35032968025607 iter/sec (stddev: 0.00015080869976997644) 233.68805934375067 iter/sec (stddev: 0.0001327196534628909) 1.04
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=ecliptic,-to=SphericalCoordinates,] 392.25011035377514 iter/sec (stddev: 0.00003748122179760347) 404.5398890993521 iter/sec (stddev: 0.000038176855820553214) 1.03
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=ecliptic,-to=KeplerianCoordinates,] 220.85608443321985 iter/sec (stddev: 0.0000327774504986522) 228.39633003541638 iter/sec (stddev: 0.00007483191333768143) 1.03
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_transform_cartesian_coordinates[100-origin=SUN,-frame=ecliptic,-to=CometaryCoordinates,] 227.91597528237116 iter/sec (stddev: 0.00003108842885986639) 235.52271562297528 iter/sec (stddev: 0.000029795413843229774) 1.03
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_CoordinateCovariances_to_matrix 603.973607824493 iter/sec (stddev: 0.00001924640643832139) 649.5332182237352 iter/sec (stddev: 0.000017260789468664565) 1.08
src/adam_core/coordinates/tests/test_benchmarks.py::test_benchmark_CoordinateCovariances_from_matrix 10685.631464760796 iter/sec (stddev: 0.000005761598965510455) 10908.748970262608 iter/sec (stddev: 0.0000054368848480825566) 1.02
src/adam_core/dynamics/tests/test_propagation.py::test_benchmark__propagate_2body 43426.65237174808 iter/sec (stddev: 0.000011319398457169338) 45449.26598226524 iter/sec (stddev: 0.000009177802314834792) 1.05
src/adam_core/dynamics/tests/test_propagation.py::test_benchmark__propagate_2body_vmap 33787.53432242722 iter/sec (stddev: 0.000010248882165965876) 33293.06458427732 iter/sec (stddev: 0.0000117079549625616) 0.99
src/adam_core/dynamics/tests/test_propagation.py::test_benchmark_propagate_2body 343.9128255277744 iter/sec (stddev: 0.00010050427267422573) 378.07059485315256 iter/sec (stddev: 0.0000954384411347726) 1.10
src/adam_core/dynamics/tests/test_propagation.py::test_benchmark_propagate_2body_matrix 3.9696632365092923 iter/sec (stddev: 0.0014393389143216532) 4.026333992678144 iter/sec (stddev: 0.0017457416330079487) 1.01
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=equatorial,-code=X05,-times=1,] 557.5191274020137 iter/sec (stddev: 0.00003382101633373655) 570.1048276400348 iter/sec (stddev: 0.00003881811701147336) 1.02
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=equatorial,-code=X05,-times=10000,] 4.593292403894926 iter/sec (stddev: 0.00045247598226166364) 4.75988823751963 iter/sec (stddev: 0.0025360954836419524) 1.04
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=equatorial,-code=500,-times=1,] 1148.4933916852642 iter/sec (stddev: 0.00002870611158638907) 1179.1747881604874 iter/sec (stddev: 0.000016893756183096502) 1.03
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=equatorial,-code=500,-times=10000,] 16.58069621196236 iter/sec (stddev: 0.00020971332746567154) 17.530282752681856 iter/sec (stddev: 0.00045906024298829194) 1.06
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=ecliptic,-code=X05,-times=1,] 556.9603268359576 iter/sec (stddev: 0.000023677250304122224) 570.1633948937412 iter/sec (stddev: 0.00002377643134675274) 1.02
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=ecliptic,-code=X05,-times=10000,] 4.567364875716296 iter/sec (stddev: 0.0017708667552895677) 4.759276286133919 iter/sec (stddev: 0.0004970194296542068) 1.04
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=ecliptic,-code=500,-times=1,] 1155.0741998149433 iter/sec (stddev: 0.000017895747370201832) 1175.296745805707 iter/sec (stddev: 0.000017259940366192394) 1.02
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SUN,-frame=ecliptic,-code=500,-times=10000,] 16.465289206141634 iter/sec (stddev: 0.001166915004733145) 17.461801080534652 iter/sec (stddev: 0.00022983063569287284) 1.06
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-code=X05,-times=1,] 563.7102382778409 iter/sec (stddev: 0.000023893480939585194) 574.5966943422288 iter/sec (stddev: 0.000023506211261726606) 1.02
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-code=X05,-times=10000,] 4.586303798603604 iter/sec (stddev: 0.0021959244553972166) 4.770432009073559 iter/sec (stddev: 0.00034210513344102835) 1.04
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-code=500,-times=1,] 1132.872402676853 iter/sec (stddev: 0.00004931176982417625) 1179.3274618475116 iter/sec (stddev: 0.00001651493664137909) 1.04
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-code=500,-times=10000,] 16.86810819455533 iter/sec (stddev: 0.0001608660821282312) 17.82066981553893 iter/sec (stddev: 0.000281170049462807) 1.06
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-code=X05,-times=1,] 556.6801975511997 iter/sec (stddev: 0.000023420721027583813) 570.8790585649443 iter/sec (stddev: 0.00004046564053636006) 1.03
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-code=X05,-times=10000,] 4.606182017871608 iter/sec (stddev: 0.0006836301266711756) 4.760368205721113 iter/sec (stddev: 0.0008159340761819243) 1.03
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-code=500,-times=1,] 1155.0655357690703 iter/sec (stddev: 0.00001753135420432644) 1180.3710423218765 iter/sec (stddev: 0.000017062495127488214) 1.02
src/adam_core/observers/tests/test_benchmarks.py::test_benchmark_get_observer_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-code=500,-times=10000,] 16.780102545280325 iter/sec (stddev: 0.0001414824133511076) 17.511137034511258 iter/sec (stddev: 0.0013968067501714061) 1.04
src/adam_core/orbits/tests/test_benchmarks.py::test_benchmark_iterate_real_orbits 17036.029350255274 iter/sec (stddev: 0.000002339157304748711) 19281.093760539086 iter/sec (stddev: 0.000005529217477658873) 1.13
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=EARTH,-times=1,] 1390.9917675823651 iter/sec (stddev: 0.000034501948052094695) 1422.6807766617194 iter/sec (stddev: 0.000058073912820435956) 1.02
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=EARTH,-times=10000,] 16.707707955511125 iter/sec (stddev: 0.00023522851245563514) 17.548287273560536 iter/sec (stddev: 0.00018595715132761715) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=SUN,-times=1,] 1416.8804061268636 iter/sec (stddev: 0.000031512261791023835) 1456.0879328734345 iter/sec (stddev: 0.000014527202376214345) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=SUN,-times=10000,] 18.362825579167367 iter/sec (stddev: 0.00042685006604890836) 19.31504944612711 iter/sec (stddev: 0.0004798875356327217) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=1,] 1413.4837153379435 iter/sec (stddev: 0.000017045074146273733) 1463.222035565179 iter/sec (stddev: 0.00002998083342222413) 1.04
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=equatorial,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=10000,] 17.38181746940881 iter/sec (stddev: 0.0012205575719001578) 18.307567625597564 iter/sec (stddev: 0.000205213941571938) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=EARTH,-times=1,] 1407.7241627794144 iter/sec (stddev: 0.000016644795129446184) 1407.5313343693438 iter/sec (stddev: 0.00003407999540297178) 1.00
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=EARTH,-times=10000,] 16.501375910931355 iter/sec (stddev: 0.0011807768121008919) 16.1954263225321 iter/sec (stddev: 0.010604872113258921) 0.98
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=SUN,-times=1,] 1392.7670085376205 iter/sec (stddev: 0.00003403789239466769) 1432.7128153076978 iter/sec (stddev: 0.00001579512723792388) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=SUN,-times=10000,] 18.394911045149843 iter/sec (stddev: 0.00020487788267004484) 19.234563100384683 iter/sec (stddev: 0.00025973540098919143) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=1,] 1382.6962444590129 iter/sec (stddev: 0.00003119781658281532) 1402.3781938813192 iter/sec (stddev: 0.00008166559020797571) 1.01
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SUN,-frame=ecliptic,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=10000,] 17.37241303199118 iter/sec (stddev: 0.000504398049221646) 18.106368907926786 iter/sec (stddev: 0.0002745046808976119) 1.04
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=EARTH,-times=1,] 1380.6179176707046 iter/sec (stddev: 0.00003196970720829797) 1434.6685276114665 iter/sec (stddev: 0.000016096492877189955) 1.04
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=EARTH,-times=10000,] 16.91293419358462 iter/sec (stddev: 0.0004581036841284612) 17.809732941679076 iter/sec (stddev: 0.0002653179448812569) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=SUN,-times=1,] 1388.8848168980683 iter/sec (stddev: 0.00003213072511650093) 1436.3856922351115 iter/sec (stddev: 0.000017013277614023493) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=SUN,-times=10000,] 17.240362706924174 iter/sec (stddev: 0.0014737755005572967) 18.204277539383163 iter/sec (stddev: 0.00021296903704593351) 1.06
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=1,] 1416.1121459176306 iter/sec (stddev: 0.00003096584667310243) 1442.9296161686068 iter/sec (stddev: 0.00003126210962583405) 1.02
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=equatorial,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=10000,] 18.321039497983097 iter/sec (stddev: 0.0012431642670449438) 19.206897070740542 iter/sec (stddev: 0.0001424328220793406) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=EARTH,-times=1,] 1389.591321678179 iter/sec (stddev: 0.00001540893431743322) 1426.4729952314626 iter/sec (stddev: 0.00003348148581180589) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=EARTH,-times=10000,] 16.8484679123208 iter/sec (stddev: 0.0011906866017230928) 17.738889384356472 iter/sec (stddev: 0.00029223160678386166) 1.05
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=SUN,-times=1,] 1392.6854796907294 iter/sec (stddev: 0.000015708448601670293) 1426.9535378004218 iter/sec (stddev: 0.00003108647147500599) 1.02
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=SUN,-times=10000,] 17.230585190447137 iter/sec (stddev: 0.0010173549531823868) 17.808748290361358 iter/sec (stddev: 0.0015890318203003895) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=1,] 1400.4026613937845 iter/sec (stddev: 0.000031059975460836836) 1441.5577738629786 iter/sec (stddev: 0.00001970370189295064) 1.03
src/adam_core/utils/tests/test_benchmarks.py::test_benchmark_get_perturber_state[origin=SOLAR_SYSTEM_BARYCENTER,-frame=ecliptic,-perturber=SOLAR_SYSTEM_BARYCENTER,-times=10000,] 18.369414553511422 iter/sec (stddev: 0.0005143755253262573) 18.972216844702828 iter/sec (stddev: 0.0020014816420898885) 1.03

This comment was automatically generated by workflow using github-action-benchmark.

@akoumjian akoumjian merged commit 16d9421 into main Dec 10, 2024
2 of 3 checks passed
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