EvelynEve

Performance Questions?

Recommended Posts

Hi, I'm working on some performance tests of PIXI vs WebGL. Does anyone know if those tests already exist or the best way to go about comparing the two for my usage cases?

 

Thank you in advance! 

Share this post


Link to post
Share on other sites

Try to measure Windows vs Desktop Computer first.

UPD. I mean, i really dont know what tests are you talking about :)

UPD2. At least you have to specify the other implementation of webgl renderer except PIXI. There's no out-of-box webgl renderer in the browser, you have to write something before you actually measure it against pixi.

UPD3. Previously i thought too about tests like "canvas" vs "pixi", but then i realized that its just not possible without some kind of implementation of scene graph or just plain FOR cycle, but for webgl its not one FOR cycle, its at least 200 lines of code i think

Share this post


Link to post
Share on other sites

Yeah I wrote a quick 2d renderer using stackGL modules as a base, got good performance but could not match pixi in simple tests, and the code weight wasn't much lighter either (not that you'd expect an library written in a few hours to be quicker than a mature lib that has undergone many improvement and testing).

I haven't seen anything that matches Pixi for performance, extensibility and ease-of-use. Clean API, great perf, fairly tight scope, its a hard library to beat.

Share this post


Link to post
Share on other sites

Hi, sorry for the delay and not clarifying. We ended up figuring it out on our own! Essentially, we were trying to figure out what the FPS would be while rendering extremely large data sets. We wanted to compare Pixi to native WebGL to see what performance losses we would have while doing doing so. Note, this is using WebGL as a novice, ergo unoptimized and what basic tutorials can do (as we could expect an expert or advanced programmer or software engineer just learning WebGL to be capable of doing). Both are also only using 2D vertex sets. 

It may be interesting to you to know that we found that Pixi seems to be better optimized and corrected some intentional novice mistakes. Thus, we found that Pixi actually runs either very slightly slower (magnitude of .1 FPS) or actually a few FPS higher.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.