Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

13
  • 4
    \$\begingroup\$ Can I start printing bang! before draw! is inputted as long as I don't finish printing bang! if draw! doesn't show up? \$\endgroup\$
    – hyper-neutrino
    Commented Apr 7, 2021 at 18:41
  • 23
    \$\begingroup\$ Using a garbage-collected language like Go to measure the latency of a program that takes handful of CPU cycles is kind of like using footsteps to estimate the length of one grain of sand… \$\endgroup\$ Commented Apr 7, 2021 at 21:49
  • 18
    \$\begingroup\$ Is it guaranteed that no input will be sent to the program other than draw!, or does the program need to filter out other input and search for draw!? \$\endgroup\$ Commented Apr 8, 2021 at 0:38
  • 8
    \$\begingroup\$ Can I download the runtime and test it on my computer? \$\endgroup\$
    – tsh
    Commented Apr 8, 2021 at 2:33
  • 5
    \$\begingroup\$ 1000 iterations is nowhere near enough if you want 2 ns precision. For measuring I/O bound operations, 1,000,000 iterations would probably be too low. \$\endgroup\$
    – Ray
    Commented Apr 9, 2021 at 17:04