ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor - https://github.com/ifreund/river - channel logs: https://freenode.irclog.whitequark.org/river/
_whitelogger has joined #river
_whitelogger has joined #river
_whitelogger has joined #river
waleee-cl has quit [Quit: Connection closed for inactivity]
yyp has joined #river
emersion has quit [Remote host closed the connection]
emersion has joined #river
yyp has quit [Quit: disconnected]
yyp has joined #river
<yyp> Is there a way to profile river? Today it hit 50% CPU load and almost froze the computer, now I wonder why did that even happen
<ifreund> running with the DRM backend I'm not sure, tracy might work
<ifreund> running nested you can use pretty much any normal profiling tool without issue
<ifreund> I guess perf record would work just fine on the drm backend as well
<ifreund> yyp: were you doing anything unusal that might have caused that to happen?
<yyp> No, just doing casual work
<yyp> Anyway, I'll try tracy
<ifreund> yyp: see https://github.com/ziglang/zig/blob/master/src/tracy.zig for basic integration
yyp has quit [Quit: disconnected]
maringuu has joined #river
maringuu has quit [Client Quit]
<travankor> yyp: could it also be lack of damage tracking?
<travankor> if it only happens on DRM backend, then that is probably it iiuc
yyp has joined #river
leon-p has quit [Quit: leaving]
mseeber has joined #river
mseeber_ has joined #river
mseeber has quit [Ping timeout: 246 seconds]
mseeber_ is now known as mseeber
sjtio has quit [Ping timeout: 240 seconds]
samhsmith[m] has quit [Ping timeout: 240 seconds]
edrex has quit [Ping timeout: 244 seconds]
ifreund_ has quit [Ping timeout: 241 seconds]
Bonicgamer[m] has quit [Ping timeout: 249 seconds]
entenel has quit [Ping timeout: 249 seconds]
ammen99 has quit [Ping timeout: 247 seconds]
hollmax[m] has quit [Ping timeout: 268 seconds]
novakane[m] has quit [Ping timeout: 268 seconds]
entenel has joined #river
mseeber has quit [Remote host closed the connection]
ifreund_ has joined #river
samhsmith[m] has joined #river
edrex has joined #river
novakane[m] has joined #river
ammen99 has joined #river
sjtio has joined #river
hollmax[m] has joined #river
Bonicgamer[m] has joined #river
st4ll11 has quit [Ping timeout: 264 seconds]
st4ll11 has joined #river
leon-p has joined #river
waleee-cl has joined #river
yyp has quit [Quit: disconnected]
ifreund has quit [Ping timeout: 260 seconds]
ifreund has joined #river
leon-p has quit [Quit: leaving]
92AABXH2K has joined #river
92AABXH2K has quit [Client Quit]
leon-p has joined #river
<leon-p> late to the party,but does valgrind work with zig code? If yes, I find callgrind is a nice profiler, thanks to the call tree you can display with kcachegrind. river will run pretty slow like that, but if you can find out the problematic task before hand and do a "lab run" it is pretty handy.
<ifreund> valgrind works great with zig code :)
<leon-p> nice!
<leon-p> probably my favourite debugging tool
<ifreund> zig's `undefined` also has valgrind integration
<ifreund> so you get really good diagnostics
<leon-p> I'll have to try that at some point
_whitelogger has joined #river
_whitelogger has joined #river
_whitelogger__ has joined #river
_whitelogger__ has joined #river
_whitelogger_ has joined #river
_whitelogger_ has joined #river
_whitelogger_ has joined #river