-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Schwalbe-Koda
committed
Jul 10, 2020
1 parent
bc26e91
commit be52dc3
Showing
7 changed files
with
52 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from .base import Docker | ||
from .batch import BatchDocker | ||
from .serial import SerialDocker | ||
from .success import SuccessDocker | ||
from .success import SuccessDocker, SuccessMonteCarloDocker | ||
from .subdock import Subdocker | ||
from .mcdocker import MonteCarloDocker | ||
|
||
__all__ = [BatchDocker, Subdocker, SerialDocker, SuccessDocker, MonteCarloDocker] | ||
__all__ = [BatchDocker, Subdocker, SerialDocker, SuccessDocker, MonteCarloDocker, SuccessMonteCarloDocker] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from timeit import default_timer as timer | ||
|
||
def time_fn(fn): | ||
def wrapped(*args, **kwargs): | ||
start = timer() | ||
result = fn(*args, **kwargs) | ||
end = timer() | ||
print(f"Timing for {fn.__name__}: {end - start}") | ||
|
||
return result | ||
return wrapped | ||
|