-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow..... #6
Comments
@zam6ak hmmm i have experienced slow rendering on windows machines, can you upload a working demo on a repository for me? it will help me to figure out why it is slow. |
Unfortunately I can't share the data.... |
Yes electron seems to be really slower (maybe only in some cases), but I'm not sure if there is something we can do about it. The slowdown likely comes from deep down somewhere in chromium codebase. @bjrmatos if you have any clue what to improve, you can compare the speed on this simple example |
@pofider thnk you for the example, it will help me to figure out! |
interesting, using https://playground.jsreport.net/studio/workspace/ryQffOb3/4 my numbers on OSX are: phantomjs (using electron (using phantomjs (using electron (using i need to get a windows machine to investigate more, but yeah it is slow on windows 😆 |
I can't get this package to work at all on Windows. I always end up with a |
did you do: |
I did, yes. |
This is when running under |
You can try to change this in the config : electron: {
strategy: 'dedicated-process',
} However I would recommend avoid using |
@notatestuser we ( @pofider and I ) have tested |
Indeed. I've tried all the strategies without any luck. Interestingly though phantomjs is fine, even with a prebuilt binary downloaded into node_modules. I'd really like to be able to render in electron! |
I've opened bjrmatos/electron-workers#263 for the iisnode issue. |
I have a report which uses plain HTML table and handlebars.
Report has 8000+ rows. No scripts of any kind - just pure HTML to PDF.
With phantomjs it takes about 15 seconds to render.
I tried using electron recipe with 'electron-ipc' and 'electron-server' strategy and
the same report takes 40+ seconds to render....
Any idea why would it be that much slower?
The text was updated successfully, but these errors were encountered: