Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 11354
Joined: 30 Sep 2006, 07:37

X3 Performance overview

14 Feb 2015, 07:59

We put a great deal of focus on performance of the X3 web application, and since the release of v0.9, we have made further improvements. We would like to present performance results to you from the best tools in the business: pingdom, Google Pagespeed, Yahoo Yslow and GTmetrix.

X3 Test Link
https://demo.photo.gallery

How is performance reviewed?
One important factor to note about all these "performance" tests, is that they review based on output of the web page resources, and will not generally rate the raw speed of the server. Therefore, you could have a very slow server and still achieve a high pagespeed score, or have a very fast server and get a low pagespeed score if implementation was weak. Basically these tests cater to "best practices" in the output, but not based on the raw "speed" they are delivered by the server.

As for pure "server speed", this almost entirely depends on power and resources of the specific server. As some of you already know, X3 uses "server caching" to maintain cached results of pages and images, which serves to massively speed up delivery of pages and resources once they are created on your server. In addition to new X3 improvements, the X3 Demo is running on our blazing fast dedicated X3-hosting server, which offers SPDY and SSL combined with Cloudflare and MaxCDN for supersonic delivery of globally distributed image assets.

As a "human" (the ultimate speed test), I think you will find that the X3 demo gallery is incredibly fast. Please also take into consideration that X3 is a modern html5 web application, and generally includes a generous amount of image files and application data. X3 does not require additional html requests after it is loaded, thus optimized for humans at the expense of a slightly bigger initial page load.

Pingdom
http://tools.pingdom.com/fpt/#!/caA75j/ ... gevuex.com
Image
Performance grade 98/100. Your website is faster than 89% of all tested websites
Image

Why not 100?
X3 score is penalized mostly from google fonts and google analytics, which have short cache freshness lifetimes, and also from loading CSS from a cookie-less domain. We cannot control these external resources, and essentially it is reporting false positives that will not affect performance. These resources should technically be set to not cache at all, thus not leading to performance penalization, but a short cache-lifetime is added for beneficial reasons.
https://d.pr/i/1fE5C

Google Pagespeed
https://developers.google.com/speed/pag ... ab=desktop
Image

Why not 100?
Google reports reports that we have "render blocking" css and fonts loading before the page can display, and that we should reduce the amount of HTML needed to render above-the-fold content. Technically, that is a correct observation, but in the complex X3 application, we need to load these resources before we can build the page and render it. This recommendation from Google is generally aimed at websites that should start to display "some text" as fast as possible to the visitor, at any cost. In the X3 web application, we need to preload a substantial amount of data initially, to make the website blazing fast once it is "ready". It would not make sense to split up css+js files to try to achieve a faster display of "above the fold content", and would lead to "FOUC" (flash of unstyled content), and additional requests. In effect, this has little effect on perceived speed of X3, as it simply needs to load the compressed X3 javascript file before everything is ready and the page render.
https://d.pr/i/14aST

Also, pagespeed reports that images in the start page are not optimized for mobile. Although true to some degree, X3 loads high-quality retina-sized images, and the example loads "horizontal" images into a "vertical" orientation, thus leading to a slightly false positive.
https://d.pr/i/1iwpF

GTmetrix
http://gtmetrix.com/reports/demo.photo.gallery/o5gEjjof
Image

Why not 100?
The same reasons as explained in the pingdom and pagespeed reports https://d.pr/i/1g5Rl

Yahoo Yslow
(Chrome developer tools plugin)
Image

Mobile
Image
Image

---

I challenge you to find a web application of similar depth with better performance results!
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 11354
Joined: 30 Sep 2006, 07:37

Re: X3 V0.9 Performance overview

14 Feb 2015, 08:37

For those wondering ...
mjau-mjau wrote:0.9 will be available by Sunday evening.

I need to get some new docs/posts ready for certain new features before unleashing the update. It's best to be prepared, as it's a substantial update.
 
User avatar
fsfs
Experienced
Posts: 56
Joined: 24 Apr 2012, 11:28

Re: X3 V0.9 Performance overview

15 Feb 2015, 07:20

WOW! Is that word enough?

Very well done Karl.
Done an amazing job. Keep up the good, it will pay off, litterely :)