Alt
Alt
Although, _in my case_ I just can use `%(fulltitle.:180|)s` instead of `%(fulltitle|)s`. [*](https://github.com/yt-dlp/yt-dlp#output-template) However, `--trim-filenames` should work too, I think. ?
> #2314 The linked issue is locked. --- For me, it seems to be OK if `--trim-filenames` will work the follow way with `-o`: - if `-o` ends with `.ext`...
When I tested Electron 2 years ago (an example application) the first appearance of the window took ~200 ms, then plus 200-300 ms for HTML rendering. So, it was 400-500...
Also there is a very weird thing: with `npm start` `loadFile` works by 500 ms longer than when I use `electron .` WTF? It should be absolutely the same thing,...
In comparison: - Neutralino.js takes 700 ms **total** (from the program start to show the rendered HTML). - NW.js takes 450-500 ms **total**. **UPD:** While Electron takes: With the old...
Make `createWindow` function `async` and use `await` before `mainWindow` call as it is in my example, or ```js console.time('load') mainWindow.loadFile('index.html') .then(() => console.timeEnd('load')) ``` UPD: OK, here is it: https://gist.github.com/AlttiRi/d51f33beef067b54689fecf4fe5d46fa...
I have updated comments above and the example gist. Use `node exec-electron-dot.js`, or `node exec-npm-start.js` for convenient benchmarking.
Well... `node exec-npm-start.js` (Electron 16.0.6): ``` [exec start][npm start] 6 [data] 865 > [email protected] start > electron . [data] 959 [data] 1036 [log][Code executing started...] [data] 1106 [log][mainWindow.loadFile/loadURL called...] 73...
### About the starting time (before `loadFile` call): Click to see details I have installed the new version of Electron 16.0.6 globally on VM and now starting time reduced from...