jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
atk has quit [Quit: Well this is unexpected.]
atk has joined #ponylang
jemc has joined #ponylang
M-Ingo has quit [Read error: Connection reset by peer]
M-hrjet has quit [Read error: Connection reset by peer]
srenatus[m] has quit [Read error: Connection reset by peer]
prose[m] has quit [Write error: Connection reset by peer]
irx[m] has quit [Read error: Connection reset by peer]
buchanon[m] has quit [Remote host closed the connection]
irx[m] has joined #ponylang
prose[m] has joined #ponylang
M-hrjet has joined #ponylang
srenatus[m] has joined #ponylang
M-Ingo has joined #ponylang
buchanon[m] has joined #ponylang
c355e3b has quit [Quit: Connection closed for inactivity]
jemc has quit [Ping timeout: 256 seconds]
yggdr has quit [Ping timeout: 248 seconds]
yggdr has joined #ponylang
M-hrjet has quit [Ping timeout: 246 seconds]
srenatus[m] has quit [Ping timeout: 245 seconds]
buchanon[m] has quit [Ping timeout: 260 seconds]
prose[m] has quit [Ping timeout: 250 seconds]
irx[m] has quit [Ping timeout: 260 seconds]
M-Ingo has quit [Ping timeout: 260 seconds]
Candle has joined #ponylang
bodie_ has quit [Ping timeout: 244 seconds]
Candle_ has quit [Ping timeout: 244 seconds]
bodie_ has joined #ponylang
TonyLo has joined #ponylang
Arjan has quit [Ping timeout: 244 seconds]
Arjan has joined #ponylang
irx[m] has joined #ponylang
srenatus[m] has joined #ponylang
M-hrjet has joined #ponylang
M-Ingo has joined #ponylang
prose[m] has joined #ponylang
buchanon[m] has joined #ponylang
_andre has joined #ponylang
Matthias247 has joined #ponylang
stipic has joined #ponylang
stipic has quit [Client Quit]
Matthias247 has quit [Quit: Matthias247]
Matthias247 has joined #ponylang
Matthias247 has quit [Ping timeout: 260 seconds]
c355e3b has joined #ponylang
jemc has joined #ponylang
Matthias247 has joined #ponylang
mollymorphic has joined #ponylang
graaff has joined #ponylang
amclain has joined #ponylang
TwoNotes has joined #ponylang
kulibali has joined #ponylang
<TwoNotes> My program has suddenly gotten a lot slower. The 'top' command shows it only using 20% of the cpu. Are there any build-in or external tools that I can use to find what it is doing?
<TwoNotes> llvm-prof?
buchanon[m] has quit [*.net *.split]
M-Ingo has quit [*.net *.split]
kajstrom has quit [Ping timeout: 252 seconds]
kajstrom has joined #ponylang
M-Ingo has joined #ponylang
buchanon[m] has joined #ponylang
_andre has quit [Quit: leaving]
graaff has quit [Quit: Leaving]
TonyLo_afk has joined #ponylang
TonyLo has quit [Ping timeout: 256 seconds]
irx[m] has quit [Ping timeout: 250 seconds]
srenatus[m] has quit [Ping timeout: 250 seconds]
buchanon[m] has quit [Ping timeout: 246 seconds]
M-hrjet has quit [Ping timeout: 246 seconds]
prose[m] has quit [Ping timeout: 245 seconds]
M-Ingo has quit [Read error: Connection reset by peer]
irx[m] has joined #ponylang
<TwoNotes> Is there a way to do conditional compilation in pony? Perhaps by compile-time-optimized IF statements?
<jemc> TwoNotes: can you use `ifdef`?
<TwoNotes> ah ok. And there is a command-line way to define things isnt there?
<TwoNotes> Like a"trace" flag
<jemc> I haven't actually done this much, but I think the basic way to do it is `ifdef "myflag" then foo() else bar() end`, then pass `--define myflag` to ponyc
<jemc> something like that
<TwoNotes> That should work. I need to put debug print statements in a bunch of places to see where my program is hanging
<jemc> sorry I had no response to your earlier question - I've never used llvm-prof so can't offer advice there
<jemc> I've used `strace` before for opaque-process-debugging from time to time
TonyLo_afk has quit []
<TwoNotes> I am hoping my problem is more of waiting for events that do not show up rather than loops or something like that
<TwoNotes> This program used to work fine on RPi, but now it takes nearly a minute to respond to inputs
<TwoNotes> I put in 'ifdef details' and it complains 'details is not a valid platform flag'
<jemc> try `ifdef "details"`
<jemc> (a string literal)
<TwoNotes> Ah. That seems to work
srenatus[m] has joined #ponylang
M-hrjet has joined #ponylang
M-Ingo has joined #ponylang
prose[m] has joined #ponylang
buchanon[m] has joined #ponylang
TwoNotes has left #ponylang [#ponylang]
mvzink has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]