Giter Club home page Giter Club logo

Comments (13)

Elanis avatar Elanis commented on June 12, 2024 1

Hello, thanks for this issue !

What does this app use to measure start duration ?

Because I use the load event of the inner webview as the end of measurement, and the binary start as the start measurement.

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024 1

My pc is of 2012 specs too :) and it can easily beat GitHub Actions

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024 1

Also, the neuralinojs architecture does lack security and can be easily intercepted unlike tauri

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

image

Config of PassMark App Timer

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

Window Initial loading time

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

Although the webview too loads 2x earlier in Tauri compared to Electron

from web-to-desktop-framework-comparison.

vildantursic avatar vildantursic commented on June 12, 2024

I also have vastly different experience build my app on Tauri and Electron.
Tauri build time is 10x faster then on Electron.
I am using monorepo (turborepo) sharing code between Electron and Tauri, and for same React app that I have Tauri ends up building much faster.
I am currently on Windows PC, but soon I'll check MacOS too.

Glad that this comparison exists, really helped me during testing period to know which one to pick :)
Huge thanx for all the work!

from web-to-desktop-framework-comparison.

Elanis avatar Elanis commented on June 12, 2024

This is really interesting to see these comments !

I need a bit of investigation to see if there's some mistake somewhere, but results were respecting my own initial manual tests if I recall correctly (but I might have missed something, who knows ?).
About the build time, do you consider that I don't use the advantage of incremental build when building Tauri, which automatically increase a lot build time. Might be worth adding to #142

Also, for some people that might read this, note that since I am using Github Actions for benchmarks, we have to compare relative differences more than absolute values like I said in the README. Not that any of you did it, but I prefer to remind 😄

But still, this is interesting to see huge differences like that. Maybe we need to change some process or ways to benchmark everything !

Glad that this comparison exists, really helped me during testing period to know which one to pick :)
Huge thanx for all the work!

Thanks ! That was my initial goal, I just wanted to compare Tauri, nw.js and electron and chose what to pick up for my projects. I didn't expect this project to continue over time, or gain stars, and even less to get to 880 😅 I'm glad it helps other people to make choices :)

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

Tauri apps have a 1st time huge time killing scheme. Also, depending on the pc specs it differs a lot I agreed

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

Also, another thing to note is that you technically have web builds for electron and tauri (considering you don't use the tauri apis on web build) you may add a sidenote regarding that

from web-to-desktop-framework-comparison.

Elanis avatar Elanis commented on June 12, 2024

Also, another thing to note is that you technically have web builds for electron and tauri (considering you don't use the tauri apis on web build) you may add a sidenote regarding that

This is true.
But we believe I should make react (for example) examples as well, so we can see differences between vanilla js, framework versions (like a react todo-list for example), and native calls versions (for example a simple file explorer).

Lots of ideas, but since I don't have that much time to spend on that project, I can't promise I could do it immediately. I created #559 to track this.

from web-to-desktop-framework-comparison.

ahqsoftwares avatar ahqsoftwares commented on June 12, 2024

Yeah, sure

Off Topic
I actually came to here from Tauri Apps. In #off-topic it was posted where I saw that which I quickly created an issue

from web-to-desktop-framework-comparison.

vildantursic avatar vildantursic commented on June 12, 2024

Within next few weeks I'll also have Github actions setup and ready so that will also give me more info on performance (build time).
Thing is that PC I am using is pretty old (8-9 years) :D I don't think that I'll beat Github actions, but time will tell.
I'll post results somewhere here.

I agree with you that examples that use React, Svelte or Vue would give more insights in performance.

from web-to-desktop-framework-comparison.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.