mon_aaraj has quit [Ping timeout: 240 seconds]
notzmv has quit [Ping timeout: 260 seconds]
ermo has quit [Quit: ZNC 1.8.2 - https://znc.in]
ermo has joined #racket
epony has quit [Ping timeout: 240 seconds]
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]
<energizer> looks like chez petite takes 100ms https://github.com/cisco/ChezScheme/issues/263
<energizer> what's the startup time of guile?
<Everything> yuu[m]: dunno, sorry
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
Codaraxis has quit [Ping timeout: 272 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #racket
monkey_ has quit [Ping timeout: 240 seconds]
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #racket
<yuu[m]> energizer: well on my system guile 50ms for hello non compiled `0.05s user 0.03s system 96% cpu 0.075 total`.
<yuu[m]> disruptek: i'll try fennel thanks for the suggestion
<disruptek> it's what you want.™
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
Codaraxis has joined #racket
<williewillus> yuu[m]: are you using #lang racket/base? that's the biggest aid to load time by far
<winny> I've noticed startup is quite slow if running a script that hasn't been compiled
countvaj` has joined #racket
countvajhula has quit [Read error: Connection reset by peer]
<williewillus> compilation is a factor yes but much less than racket/base vs racket
<williewillus> #lang racket loads lots more modules that you might not use
ur5us has quit [Ping timeout: 252 seconds]
<energizer> % time racket /dev/stdin <<<'#lang racket'
<energizer> 0.39user 0.07system 0:00.47elapsed 99%CPU (0avgtext+0avgdata 131104maxresident)k
<energizer> % time racket /dev/stdin <<<'#lang racket/base'
<energizer> 0.11user 0.04system 0:00.15elapsed 100%CPU (0avgtext+0avgdata 68236maxresident)k
<energizer> racket/base 150ms; python 20ms; bash 3ms
<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
<winny> 10% can make it or break it
<energizer> huh fennel and janet are made by the same person https://github.com/bakpakin
<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
ec has quit [Client Quit]
ec has joined #racket
<energizer> lagash: oh you're right
capfredf has quit [Remote host closed the connection]
<lagash> energizer: you might want to hang out at #fennel, we don't bite :)
capfredf has joined #racket
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
jao has joined #racket
Codaraxis_ has joined #racket
Codaraxis has joined #racket
Codaraxis__ has joined #racket
Codaraxis_ has quit [Ping timeout: 256 seconds]
Codaraxis has quit [Ping timeout: 256 seconds]
cwebber has quit [Read error: Connection reset by peer]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
emacsomancer has quit [Ping timeout: 240 seconds]
emacsomancer has joined #racket
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
mon_aaraj has quit [Ping timeout: 272 seconds]
mon_aaraj has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
countvaj` has joined #racket
rgherdt has quit [Ping timeout: 240 seconds]
rgherdt has joined #racket
morte_ has joined #racket
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #racket
ec has quit [Quit: ec]
morte_ has quit [Read error: Connection reset by peer]
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
philip has joined #racket
capfredf has joined #racket
apg has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
badkins has joined #racket