Skip to content

Commit

Permalink
Take me home, country roads
Browse files Browse the repository at this point in the history
* added setup function

Signed-off-by: Asish Kumar <[email protected]>

* refactor geometry calculate distances

Signed-off-by: Asish Kumar <[email protected]>

* Refactor montecarlo estimators in benchmark code

Signed-off-by: Asish Kumar <[email protected]>

* add cache and setup functions

Signed-off-by: Asish Kumar <[email protected]>

* add cache and setup functions

Signed-off-by: Asish Kumar <[email protected]>

* ran ruff linter

Signed-off-by: Asish Kumar <[email protected]>

* Thou hath vanquished the redundant variables and functions

Signed-off-by: Asish Kumar <[email protected]>

* fix bugs

Signed-off-by: Asish Kumar <[email protected]>

* change benchmark yml

Signed-off-by: Asish Kumar <[email protected]>

* repeat in class

Signed-off-by: Asish Kumar <[email protected]>

* Benchmark run_tardis with track_rpacket enabled (tardis-sn#2720)

* Benchmark run_tardis with track_rpacket enabled

* Update config to resemble time_run_tardis config

* Fix Benchmark error

* Cache Benchmark Property

* Remove Cached Property decorator

* rounds in benchmarks

Signed-off-by: Asish Kumar <[email protected]>

* fix

Signed-off-by: Asish Kumar <[email protected]>

* fix error in formal integral

Signed-off-by: Asish Kumar <[email protected]>

---------

Signed-off-by: Asish Kumar <[email protected]>
Co-authored-by: Sumit Gupta <[email protected]>
  • Loading branch information
officialasishkumar and Sumit112192 authored Aug 1, 2024
1 parent ee57dc3 commit cac9052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions benchmarks/run_tardis.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from tardis import run_tardis
from tardis.io.atom_data import AtomData


class BenchmarkRunTardis(BenchmarkBase):
"""
Class to benchmark the `run tardis` function.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/spectrum_formal_integral.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
from numba import config

from benchmarks.benchmark_base import BenchmarkBase
from tardis.spectrum import formal_integral

config.THREADING_LAYER = "workqueue"


class BenchmarkTransportMontecarloFormalIntegral(BenchmarkBase):
"""
Class to benchmark the numba formal integral function.
Expand Down

0 comments on commit cac9052

Please sign in to comment.