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

make it fast(er) #40

Open
ajschumacher opened this issue Jul 4, 2015 · 2 comments
Open

make it fast(er) #40

ajschumacher opened this issue Jul 4, 2015 · 2 comments

Comments

@ajschumacher
Copy link
Owner

It's so slow! For goodness sake!

@ajschumacher
Copy link
Owner Author

Currently:

time ../mergic/mergic.py calc RLdata500.csv (no cache)

real    0m36.539s
user    0m35.593s
sys 0m0.379s

time ../mergic/mergic.py calc RLdata500.csv (with cache)

real    0m4.127s
user    0m3.872s
sys 0m0.123s

The cache file is 1.8M (1835153).

@ajschumacher
Copy link
Owner Author

Hmm; why is the cache so much bigger for the tennis players? It's 26M (27700796). Hmm.

There are 669 tennis player names, vs. 500 RLdata patients. But the RLdata groupings seem to be more complex; there are more of them, anyway.

Just to show the calc from the tennis cache:

time mergic calc

real    0m55.827s
user    0m52.343s
sys 0m1.941s

It really seems to sit there for a long time at the end, even after output is done. Why is that? Does it continue calculating?

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

No branches or pull requests

1 participant