companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
motherfsck has quit [Quit: quit]
motherfsck has joined #ocaml
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
companion_cube has quit [Quit: WeeChat 4.0.2]
discocaml has quit [Remote host closed the connection]
ocabot has quit [Remote host closed the connection]
discocaml has joined #ocaml
companion_cube has joined #ocaml
ocabot has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.0.5]
chrisz has quit [Ping timeout: 255 seconds]
chrisz has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
<discocaml> <leostera> without memprof, what can I do to check what allocations are triggering gc?
<discocaml> <sim642> With perf you can see GC being triggered but usually I've found it to be more of a distraction there. Where the GC happens isn't representative of the allocations which might be problematic. GC can be triggered completely elsewhere that's not related at all. Or why do you want to know?
<discocaml> <sim642> The allocation triggering GC is kind of the last straw that pushes it over. The allocations that filled up the heap could happen well before and just stayed live
Serpent7776 has joined #ocaml
TrillionEuroNote has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
azimut has quit [Ping timeout: 252 seconds]
bartholin has quit [Quit: Leaving]
dnh has joined #ocaml
average has joined #ocaml
wingsorc has quit [Ping timeout: 252 seconds]
alphacentauri has joined #ocaml
mro has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
alphacentauri has quit [Ping timeout: 255 seconds]
alphacentauri has joined #ocaml
waleee has joined #ocaml
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
alphacentauri has quit [Quit: WeeChat 4.0.5]
wagle has joined #ocaml
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wagle has joined #ocaml
wagle has quit [Client Quit]
wagle has joined #ocaml
average has quit [Quit: Connection closed for inactivity]
alphacentauri has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
waleee has quit [Quit: WeeChat 4.0.2]
mro has quit [Ping timeout: 248 seconds]
waleee has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
alphacentauri has quit [Ping timeout: 255 seconds]
<discocaml> <leostera> right
<discocaml> <leostera> i'm currently using Instruments on macOS and i can see the same
<discocaml> <leostera> i have an idea of what can be causing this since the "stack trace" i get back puts some gc calls under some other calls
<discocaml> <leostera> but i don't know if this is accidental or related
waleee has quit [Ping timeout: 258 seconds]
alphacentauri has joined #ocaml
<discocaml> <Et7f3 (@me on reply)> octachron: if we build a ocaml with two Marshall module side by side could we use both at the same time (one for loading 4.05 and one for writing 5) or the runtime changed also ?
alphacentauri has quit [Quit: WeeChat 4.0.5]
<octachron> Marshall is part of the runtime.
<octachron> At this point, you will want to build independently the marshaller from C with one version as input and another for output.
<octachron> But, this is sign of a deeper problem: Marshall is *not* an archiving format.
<companion_cube> it's a "get it done quick'n'dirty" format
<octachron> And only for local data
waleee has joined #ocaml
alphacentauri has joined #ocaml
motherfsck has quit [Ping timeout: 245 seconds]
alphacentauri has quit [Ping timeout: 255 seconds]
alphacentauri has joined #ocaml
waleee has quit [Ping timeout: 255 seconds]
<discocaml> <Et7f3 (@me on reply)> I asked that because yziquel has difficulty to build old ocaml. Of course if he could build an old ocaml he could just write custom code to convert to json or more standard format
motherfsck has joined #ocaml
TrillionEuroNote has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.0.5]
edr has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
azimut has joined #ocaml
alphacentauri has joined #ocaml
alphacentauri has quit [Ping timeout: 245 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alphacentauri has joined #ocaml
azimut has quit [Ping timeout: 252 seconds]
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #ocaml
Anarchos has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #ocaml
<h0rror> I don't get Sys.time, it can return a higher value for a program that took less time to run
<companion_cube> maybe the program ran fully without interruption
<companion_cube> and in the case which took more wallclock time, the process was competing with other processes
<h0rror> looks like I misunderstood the documentation and I should be using Unix.gettimeofday then! (trying to do some benchmarks)
<companion_cube> ah yes, or even better, mtime
<companion_cube> (the opam package for monotonic time)
waleee has joined #ocaml
<h0rror> didn't know about mtime, that's cool
bartholin has joined #ocaml
<h0rror> thanks companion_cube
<companion_cube> 🎉
Anarchos has quit [Ping timeout: 245 seconds]
edr has quit [Quit: Leaving]
masterbuilder has quit [Remote host closed the connection]
masterbuilder has joined #ocaml
wingsorc has joined #ocaml
Tuplanolla has joined #ocaml
dnh has joined #ocaml
Anarchos has joined #ocaml
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has quit [Ping timeout: 258 seconds]
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
dnh has joined #ocaml
bartholin has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
azimut has joined #ocaml
Tuplanolla has quit [Ping timeout: 240 seconds]
alphacentauri has quit [Quit: WeeChat 4.0.5]