Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2019-10-24 00:00:00Z and 2019-10-25 00:00:00Z
Avatar
What is the point of the placement new here? m_pCharacter = new(m_ClientID) CCharacter(&GameServer()->m_World);
14:48
This is from CPlayer::TryRespawn
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
15:29
the idea is basically to reuse the same memory every time
Avatar
ah, I missed the overload
17:20
don't those numbers took too round to be true? 😛
Avatar
[quakenet] deen BOT 2019-10-24 17:21:33Z
looks like some estimation :D
Avatar
Doesn't really show me a clear hog like I hoped though 😦
Avatar
[quakenet] deen BOT 2019-10-24 17:22:19Z
what tool did you use?
17:22
in OS software I'd use valgrind --tool=callgrind
17:22
and then look at it with kcachegrind
Avatar
deen: I don't think I can profile ddnet with callgrind on the servers, way too slow
Avatar
[quakenet] deen BOT 2019-10-24 17:24:40Z
true
Avatar
I was hoping to see where a GETINFO attack actually causes lags
Avatar
[quakenet] deen BOT 2019-10-24 17:24:56Z
we have a great tool with low performance overhead for that at work, but unfortunately not open source :/
Avatar
deen: some dynamic translation like callgrind or call stack sampling?
Avatar
[quakenet] deen BOT 2019-10-24 17:25:40Z
call stack sampling, but looks much more accurate and useful than the one you showed :D
17:26
and also returns you a dot file in the end
Avatar
deen: is it something you made inhouse? maybe you can convince your ppl to open source it 😛
Avatar
[quakenet] Ryozuki BOT 2019-10-24 18:08:13Z
:o
18:10
its funny cuz when i dont have time i want to program ddnet and when i have time i dont
18:10
fuck life
Exported 23 message(s)