Skip to main content

All Questions

Tagged with
0 votes
0 answers
46 views

How to send large data to the renderer process with low latency in electron?

I'm working on a video-related project where I've disabled nodeIntegration and enabled contextIsolation for security reasons. My task involves processing business logic in the utility process and then ...
li wakin's user avatar
0 votes
0 answers
92 views

How can i preload images for LCP?

<img src="/assets/img/DM2.webp" alt="Your Image Alt Text" style={{ width: "218px", height: &...
Yogesh's user avatar
  • 1
0 votes
0 answers
26 views

Optimizing DOM manipulation on scroll? (reducing jittering)

Summary of behavior: I am writing a text-editor in electron and have been inspecting the rendering behavior of VSC bit by bit from the dev tools to inspire my approach I have currently. I render a ...
BigBellyBigDreams's user avatar
0 votes
0 answers
83 views

Three.js performance issues using SVGLoader

I use the SVG loader to extrude a 3D object and then make a brush out of it using the Three CSG. But this causes alot of lag and performance issues and I think this is because of the post processing. ...
Liam Nordvall's user avatar
0 votes
0 answers
28 views

Most fields of PerformanceResourceTiming are zero, even though setting Timing-Allow-Origin to "*"

I have an Electron app that's loaded from "file://" origin, I need to measure timing of network activity initiated by my app. So, I'm doing a cross-origin job. MDN says: Many of the ...
frogatto's user avatar
  • 29.1k
1 vote
0 answers
89 views

Using webpack to bundle electron with angular

secure-electron-template Used above repo to build an electron app. The author used react. We would like to use angular instead. How to effectively use webpacks with angular-electron like GitHub ...
Thamizh Arasan's user avatar
1 vote
0 answers
240 views

electron app load faster in development then in production

When I creat an Electron app, it takes around 6 seconds to load with npm start but 30 if I run the exe installed from the installer I used Electron forge to create the app and electron builder to ...
Thomas's user avatar
  • 13
0 votes
1 answer
1k views

Best approach to list all images from a specific directory and send to renderer process using Electron

I have a function in the main process that read all images that are in a directory and send it to the renderer process as a base64string. I have around 20 images each one with 15kb approximately ...
Caio Nakai's user avatar
0 votes
0 answers
572 views

How much CPU usage is normal for RealTime electron APP

I wrote a electron app for a device from aliexpress (simple spectrum analyzer), and I feed the data to the app through some dlls etc. That is not that important, but just so you know what it is. ...
Jakub Hanuska's user avatar
2 votes
1 answer
55 views

How to compare 2 NativeImage instances in Electron

I'm reading images from the clipboard in a setInterval loop and I want to check if the user has clicked a new screenshot since the last run. Currently I'm using the toPNG() method and comparing the ...
Naman Srivastava's user avatar
18 votes
1 answer
4k views

Windows Defender slowing down Electron startup

Context I have setup a trivial Electron app which shows a plain html file and it consistently takes more than two seconds to start up. The key performance measurements are: 170 ms: a blank window ...
aochagavia's user avatar
  • 6,136
21 votes
2 answers
12k views

Dealing with slow Electron startup

Context I have spent some hours playing with Electron and I have observed that it consistently takes more than 2.5 seconds to draw a trivial html file to the screen. The timeline is roughly as follows:...
aochagavia's user avatar
  • 6,136
0 votes
1 answer
129 views

Is there a better way to check a flag and then set optional parameter in a function in javascript? (Writing function in a js object)

I just encountered this situation when i was working on an electron project. Below is a pouchDB put function where i am trying to upload an attachment with it My current code is like this : ...
Kaushik SA's user avatar
3 votes
2 answers
2k views

Tools for monitoring electron applications

We are building an electron app using React & NodeJS. I was wondering what are the preferred app monitoring tools out there that provide good support for monitoring these sort of apps (Web running ...
Umer's user avatar
  • 159
0 votes
0 answers
191 views

Why add to home screen is not available for non-PWA?

Is there any performance issue in providing A2HS for non-PWA? If not, why web browsers don't give A2HS for non-PWA? I am asking because I have an idea to make an electron based app to provide A2HS for ...
Augustin Joseph's user avatar

15 30 50 per page