alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 246 seconds]
postmodern has joined #crystal-lang
postmodern has quit [Client Quit]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
Sankalp has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 246 seconds]
Sankalp has joined #crystal-lang
alexherbo2 has joined #crystal-lang
taupiqueur has joined #crystal-lang
_ht has joined #crystal-lang
notzmv has joined #crystal-lang
renich has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 246 seconds]
alexherbo2 has quit [Remote host closed the connection]
taupiqueur has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]
hightower2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 246 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 264 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 252 seconds]
taupiqueur has joined #crystal-lang
jmdaemon has joined #crystal-lang
ur5us has joined #crystal-lang
Starfoxxes has quit [Ping timeout: 264 seconds]
Starfoxxes has joined #crystal-lang
_ht has quit [Quit: _ht]
<
FromGitter>
<azurelmao> does crystal have a profiler?
<
FromGitter>
<Blacksmoke16> not one thats built in no
<
FromGitter>
<azurelmao> hm, how could I find slow code then? using the Benchmark class?
<
FromGitter>
<Blacksmoke16> some people also have luck with instruments if you're on mac
hightower2 has quit [Ping timeout: 260 seconds]
<
FromGitter>
<Blacksmoke16> otherwise benchmark module can be good for more isolated test cases
hightower2 has joined #crystal-lang
<
FromGitter>
<azurelmao> hm, it doesn't seem like my code is at fault, cause even opengl's own calls take more time
<
FromGitter>
<azurelmao> ill show you guys what is happening
<
FromGitter>
<azurelmao> hm where do i upload t his
<
FromGitter>
<Blacksmoke16> prob as a gist
<
FromGitter>
<azurelmao> okay you can't see it on video, but the point is that moving the camera around is smooth
<
FromGitter>
<azurelmao> but when I rotate it, it's a bit chunky
<
FromGitter>
<azurelmao> is rotation that significantly more performance demanding or am I doing something wrong?
<
FromGitter>
<azurelmao> or is Crystal not actually that fast compared to C
<
FromGitter>
<azurelmao> cause I tried building with --release and it was still a bit eh
<
FromGitter>
<azurelmao> okay i tried calculating the average fps and it's around 75 fps, which is my monitor's refreshrate
<
FromGitter>
<azurelmao> so the fps is technically high
<
FromGitter>
<azurelmao> but it doesn't feel smooth at all
<
FromGitter>
<azurelmao> any ideas?
<
FromGitter>
<Blacksmoke16> hard to say