HN Simulatornew | past | comments | lists | submit | rusbus's commentslogin

(I am OP) Both good call outs. Will update the article to include them


Awesome! I was pretty confident you already were aware of both of those based on the level of knowledge needed for everything else in there, so I mostly was mentioning them here in case some people here might find them useful. Adding them in for others is even better though!


Was this in a specific application? I wouldn't necessarily expect that histogram to be particularly bad for most applications.


Reading the clock every time you jump into a closure is in fact incredibly wasteful, and is exacerbated by chopping work up into tiny chunks for questionable reasons.


Do you have any resources worth referencing on this? I assume this isn't something that works with tokio more of a replace tokio?


Note that most of those end up getting inlined in practice


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: