ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Fund Crystal's development: | GH: | Docs: | Gitter:
alexherbo2 has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 255 seconds]
Sankalp has quit [Read error: Connection reset by peer]
Sankalp has joined #crystal-lang
jhass has quit [Ping timeout: 252 seconds]
jhass has joined #crystal-lang
jmdaemon has quit [Ping timeout: 246 seconds]
_ht has joined #crystal-lang
<frojnd> Hi there.
<frojnd> I'm trying to benchmark simple usage of fibers... what I don't understand is why when using benchmark loop is executed multiple times? Without benchmark I get puts messages from 0-990 only once. But with benchmark multiple loops?
<frojnd> Should I be using other approach to measure execution times?
_ht has quit [Ping timeout: 260 seconds]
_ht has joined #crystal-lang
<brycek> frojnd: (on Caribbean internet so the code’s not loading) is it doing a warmup run or something like that?
<riza> frojnd: for this type of benchmarking you probably want to use something other than ips, or have a stronger architecture around standing up your fibers and channels
<riza> IPS is really designed to hammer an algorithm with a few thousand (or more) iterations to measure both warm up time and throughput at full-warm state
_ht has quit [Quit: _ht]
__ht has joined #crystal-lang
rez has joined #crystal-lang
__ht is now known as _ht
hightower2 has joined #crystal-lang
jmdaemon has joined #crystal-lang
fifr` is now known as fifr
ur5us has joined #crystal-lang
_ht has quit [Quit: _ht]
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 255 seconds]