<elvishjerricco>
Sidenote, i hate it when people blame Electron for perf problems. Electron does facilitate developers who are bad at performance, I'll give them that. But Electron itself has perfectly good performance if you compare to other managed dynamic languages like Python. The issue is stuff like Slack that does a shit job of managing resources because they like to pretend that the runtime will do the hard work for them
<joepie91>
elvishjerricco: there's one exception to that: Chromium's default memory-greedy behaviour
<joepie91>
a flag was introduced in V8 only recently for modifying this, and I don't know if there is a flag for it for the rest of Chromium
<joepie91>
otherwise I agree :P
<joepie91>
at this point I'm basically just waiting for the flag to land in Electron so that I can roll a library that enables it automagically and get people to stop yelling about memory use
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos-chat
jasongrossman has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos-chat
__monty__ has joined #nixos-chat
noonien has joined #nixos-chat
johanot has quit [Quit: WeeChat 2.2]
<infinisil>
joepie91: even compared to pypy?
<joepie91>
infinisil: huh?
<infinisil>
Ohh that was meant to go to elvishjerricco
asymmetric has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
aanderse has quit [Ping timeout: 240 seconds]
<emily>
elvishjerricco: isn't it mostly the DOM and the rest of the ~Web API~ that causes that crappiness?
<emily>
nobody seems to complain about node.js memory usage, it's browsers themselves
<joepie91>
emily: memory usage in Node can get fairly high for long-running processes
<joepie91>
due to aforementioned greedy memory policy
drakonis has joined #nixos-chat
<emily>
right, but I suspect that's largely unrelated to the thing where browser-based apps tend to be sluggish memory hogs
<emily>
Certainly nobody complains about node's event handling performance :p
<joepie91>
emily: yeah, the sluggishness generally has more to do with application design
<joepie91>
I've seen some absolutely mindbogglingly stupid code in Electron apps
<joepie91>
there's /some/ latency penalty for particular workloads, but not big enough to explain the many complaints
<joepie91>
(the latency penalty coming from user interaction being mostly handled on the same thread as application code)
<joepie91>
emily: btw, enjoyed revspace? assuming that you went :P
<emily>
yeah, I got a look around ^^
<emily>
I'm sure I'll be back at some point
<emily>
(was with Shiz)
<joepie91>
figured as much :)
asymmetric_ has joined #nixos-chat
asymmetric has quit [Remote host closed the connection]
asymmetric_ is now known as asymmetric
drakonis1 has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
endformationage has joined #nixos-chat
johanot has joined #nixos-chat
drakonis1 has quit [Ping timeout: 258 seconds]
johanot has quit [Quit: WeeChat 2.2]
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos-chat
asymmetric has quit [Ping timeout: 244 seconds]
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 240 seconds]
biopandemic has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 240 seconds]
asymmetric has joined #nixos-chat
biopandemic has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-chat
jtojnar_ has joined #nixos-chat
drakonis_ has quit [Ping timeout: 258 seconds]
yl has joined #nixos-chat
biopandemic has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
biopandemic has quit [Ping timeout: 250 seconds]
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
<elvishjerricco>
emily: FWIW, having worked on some large web apps, I can tell you the DOM is not slow. We transitioned to native Haskell code cross compiled for mobile devices controlling a web view, and the DOM was no bottleneck. Turns out our app was slow before because GHCJS is slow :P
<samueldr>
I hit my head against the DOM being the bottleneck once, but it wasn't because it was slow; the DOM itself was fast, rendering the elements was an issue...
<samueldr>
... but it also was a ridiculous amount of elements
<samueldr>
I would bet anything not specialized in what I was doing would have had issues
<simpson>
As the saying goes, "1000000 is big whether written 1_00_00_00 or 1_000_000"
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis has quit [Read error: Connection reset by peer]
disasm has joined #nixos-chat
asymmetric has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos-chat
disasm has quit [Client Quit]
disasm has joined #nixos-chat
disasm has quit [Client Quit]
disasm has joined #nixos-chat
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos-chat
disasm has quit [Client Quit]
disasm has joined #nixos-chat
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos-chat
yl has quit [Ping timeout: 246 seconds]
<gchristensen>
good grief, every single time I use borgbackup I have to look up the manual to figrue out how
<samueldr>
in my experience, I would assume it's because I never have to use it actively