-
Notifications
You must be signed in to change notification settings - Fork 47
Conversation
some numbers:
|
Looks great! A couple thoughts:
|
Thanks, I'll take a look in the next few days |
@KadekM Any interest in reviving this PR? If so, please re-open. I think benchmarking ZMX to ensure we don't suffer significant performance degradation on large graphs is quite important! |
@jdegoes sure, it had slipped my mind |
@KadekM Great! |
@adamgfraser |
@KadekM Interesting. I think we are actually going to delete the graph representation itself and just keep track of the set of fibers. See #209. Maybe you can pull in the changes to the The other thing you could do if you wanted would be to add benchmarks for the overhead of recording user specified metrics, though we could also definitely do that separately. |
@adamgfraser pulled in those changes, it looks OK now (no more SO).
I'd prefer if we do it separately, this one's been open for a while |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor comments on the benchmarks. Otherwise this is ready to go when tests pass. What do the numbers look like?
I'll run them once you're ok with benchmark setup, as they take a while to finish |
👍 One thing I find is useful for local development is running benchmarks with a smaller number of iterations and forks (like 1 fork, five warmup and benchmark iterations, 3 seconds each) just to make sure things are working right and the results look broadly reasonable. Though definitely after that good to run with a large number of forks and iterations for more accurate results. |
I did run them one iteration each to make sure the number seem reasonable and nothing fishy is happening, like that SO :-) before posting them here though I'd like to run it properly |
Makes sense! |
Updated based on comments in cab61eb starting tests |
@adamgfraser how do we want to handle
|
@KadekM I think you can use silencer to silence it. Example usage: import com.github.ghik.silencer.silent
val locals = fiberRefLocals.asScala: @silent("JavaConverters") |
The spawn (for large enough n) also crashes on SO so I'll need to fix that |
@adamgfraser apologies it took so long, here are the first results after changes got some 'interesting results'
it seems in reading the deviation is quite big
here are tracking for 10k with
|
I don't think the |
@adamgfraser I've deleted the reading ones |
@adamgfraser subtle ping :-) |
@KadekM Sorry for the delay! Yes, I think we shouldn't change the API beyond just removing the graph which is not actually being used. |
@adamgfraser Diagnostics has been resurrected :-) |
I think now we have two |
@KadekM Thank you for your work on this! |
Pushing code before morning coffee - never again :D |
@adamgfraser Thanks for constant back and forths with reviews |
#104