badkins has quit [Remote host closed the connection]
ur5us has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
monkey_ has quit [Ping timeout: 260 seconds]
badkins has quit [Remote host closed the connection]
epony has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
meinside has joined #racket
capfredf has joined #racket
monkey_ has joined #racket
yuu[m] has joined #racket
<yuu[m]>
why startup time is so slow? this makes racket unusable for Unix scripting for me. A simple (display "hello") takes `hello 1.35s user 0.29s system 87% cpu 1.884 total`. same experience for compiled racket
<Everything>
yuu[m]: agree. But this is PL of another class. Higher. It needs to load a lot of libraries, etc.
notzmv has joined #racket
<yuu[m]>
Everything: i see. so no way to make it faster? :( i want a good lisp for scripting. my priority is/was racket but at least it seems like guile has ok startup time.
philip has quit [Ping timeout: 256 seconds]
theruran has quit [Quit: Connection closed for inactivity]
<winny>
Try a test where you compile it first, just for fun
Everything has left #racket [#racket]
<winny>
Did a quick test, got a 25% decrease in startup time for '#lang racket', 11% decrease in startup time for '#lang racket/base' after running `raco make`. Still, the fastest racket startup is 74ms whereas the fastest cpython 3.9.9 startup is 19ms on my 11th gen i7
<winny>
interestingly guile is 10ms for an empty program on same hardware, guile -c ''
<yuu[m]>
williewillus: i was using `#lang racket`. changing it to `#lang racket/base` reduced the startup but still slow `0.20s user 0.09s system 97% cpu 0.299 total`, and compiled `0.18s user 0.10s system 98% cpu 0.276 total`
<yuu[m]>
energizer: janet is pretty fast! thanks!
<williewillus>
meh, 0.1s is probably within my realm of acceptability, if you're executing the script externally thousands of times racket is probably not the right language
<williewillus>
and if you look 0.10s of that 0.18s is system, which I suspect is mostly just IO loading stuff
<winny>
might be worth noting it seems racket opens a lot of stuff even on an empty program - https://0x0.st/oNGS.txt just search for read and open
capfredf has joined #racket
<winny>
for every .rkt file it opens in the system collects directory is a bunch of stat calls, an eventual open, reading at least a couple KiB, bunch of lseeks, and closing out each collect file, at least on `#lang racket/base`
capfredf has quit [Ping timeout: 272 seconds]
<winny>
woops, timestamps might help, same thing but `strace -ttt` - https://0x0.st/oNGj.txt
jao has quit [Ping timeout: 256 seconds]
hexagon62 has joined #racket
hexagon62 has quit [Client Quit]
Codaraxis_ has joined #racket
Codaraxis has quit [Ping timeout: 272 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
ur5us has joined #racket
winny has quit [Remote host closed the connection]
winny has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
notzmv has quit [Ping timeout: 252 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
s-liao68 has joined #racket
ptival has quit [Quit: You have been kicked for being idle]
s-liao has quit [Ping timeout: 256 seconds]
skapate has quit [Read error: Connection reset by peer]
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
Avichi has joined #racket
badkins has joined #racket
notzmv has joined #racket
badkins has quit [Ping timeout: 260 seconds]
capfredf has joined #racket
dongdigua has joined #racket
dongdigua has quit [Client Quit]
capfredf has quit [Ping timeout: 240 seconds]
s-liao68 has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #racket
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
capfredf has joined #racket
badkins has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
Oxyd has quit [Ping timeout: 240 seconds]
dbohdan3 has joined #racket
dbohdan has quit [Ping timeout: 256 seconds]
Oxyd has joined #racket
s-liao has joined #racket
veinoftls is now known as veinoftls13
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #racket
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
monkey_ has joined #racket
capfredf has joined #racket
monkey_ has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 256 seconds]
Avichi has quit [Quit: Client closed]
<samth>
if you want to see it with many fewer files loaded, you can try `#lang racket/kernel` (or even `(module m '#%kernel)`
parnikkapore has joined #racket
parnikkapore has quit [Client Quit]
mon_aaraj has joined #racket
badkins has joined #racket
s-liao has quit [Quit: Client closed]
ec has quit [Ping timeout: 240 seconds]
Avichi has joined #racket
Avichi has quit [Quit: Client closed]
ec has joined #racket
theruran has joined #racket
mfiano has quit [Remote host closed the connection]
mfiano has joined #racket
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
Codaraxis_ has quit [Ping timeout: 256 seconds]
countvaj` has joined #racket
ec has quit [Remote host closed the connection]
ec has joined #racket
ec has quit [Quit: ec]
ec has joined #racket
<lagash>
energizer: technomancy is the main author/brains behind it