Cesium performance handling

830 views
Skip to first unread message

kapadia...@gmail.com

unread,
Sep 17, 2015, 11:48:20 PM9/17/15
to cesium-dev
Hi, I'm working on flight simulation and using cesium in stand alone application which is in development using python 3.4 and pyqt 5.4

We are able to use cesium successfully in stand alone application but performance is the big challenge we are facing at the moment and it's really very slow. In the webview it's really slow but same thing working pretty good in chrome browser.

So is there any way to improve performance or do we need to add any external support to the application?

Please provide some suggestion on this, really appreciate.


Thanks in advance.


lgsof...@gmail.com

unread,
Sep 18, 2015, 10:00:37 PM9/18/15
to cesium-dev
I noticed same performance issue in my app.

Akshay kapadia

unread,
Sep 19, 2015, 12:25:06 AM9/19/15
to cesium-dev, lgsof...@gmail.com
so do you have any solution for this? or any idea to handle this?

THanks 

Akshay kapadia

unread,
Sep 21, 2015, 1:58:40 AM9/21/15
to cesium-dev
Please if anyone has idea.....help!

Really appreciate please give some helpful suggestions.

Thanks

Matthew Amato

unread,
Sep 21, 2015, 8:24:54 PM9/21/15
to cesiu...@googlegroups.com
Unfortunately, as far as I can tell, the Qt WebView is known to have poor performance.  This has nothing to do with Cesium and is instead a limitation of Qt.  If you used CEF or one of the other embedded browser controls performance would be much better.  That being said, I would recommend you ask about performance on Qt support forums and let us know if you have any luck.

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vladimir Rutsky

unread,
Sep 22, 2015, 3:43:20 PM9/22/15
to cesiu...@googlegroups.com
Do you use QWebView [1]?

Try to use QWebEngineView [2]: AFAIK QWebView based on old version of
Webkit and QWebEngineView is modern replacement of QWebView based on
new versions of Chromium engine (Blink).

I used QWebEngineView with CesiumJS in PyQt 5.4 to display thousands
of point primitives, and I didn't noticed any significant performance
issues.

[1] http://doc.qt.io/qt-5/qwebview.html
[2] http://doc.qt.io/qt-5/qwebengineview.html

--
Vladimir Rutsky

Akshay kapadia

unread,
Sep 22, 2015, 8:00:16 PM9/22/15
to cesium-dev
Thanks a lot Matthew. Now it's too late for us to change framework. But yeah will try and lets see how it goes!

Really appreciate.

Thanks

Akshay kapadia

unread,
Sep 22, 2015, 8:04:27 PM9/22/15
to cesium-dev
Thanks Vladimir. Yes we are using QWebView. yeah I've read about QWebEngineView and I thought it's for pyqt 5.5
But really thanks for your kind response. It's really very helpful us and will try qwebengine and let's see.
Thank you very much and will let you know shortly how it goes.

Thanks,
Akshay

Akshay kapadia

unread,
Oct 6, 2015, 1:37:42 AM10/6/15
to cesium-dev
HI @vladimir thanks but I tried QWebEngine but it's not supported for windows at the moment. Is there any other way?

Thanks and appreciate your reply.


On Friday, September 18, 2015 at 1:48:20 PM UTC+10, Akshay kapadia wrote:

Akshay kapadia

unread,
Oct 6, 2015, 1:51:49 AM10/6/15
to cesium-dev

Please give some sugeestions for improving cesium performance: we have almost 3000 entities (flights) in one czml file. It's really very important for us to improve the performance so anyone has any idea please help.

Thanks

On Friday, September 18, 2015 at 1:48:20 PM UTC+10, Akshay kapadia wrote:

Matthew Amato

unread,
Oct 12, 2015, 11:51:34 PM10/12/15
to cesiu...@googlegroups.com
Can you share the CZML file?  Does it run fine in Chrome or Firefox?  I it's only slow in Qt, that's a Qt problem, not a Cesium problem.

Akshay kapadia

unread,
Oct 13, 2015, 7:44:16 AM10/13/15
to cesium-dev
Hi Matthew, thanks a lot for the reply. I've attached .czml file here (https://drive.google.com/file/d/0ByJYCRvLl4SrekdqclI4eHNTdXM/view?usp=sharing)
It contains almost 4000-6000 flights. It runs good in chrome but still initial loading time is very high. Once czml file loaded completely then it works good in chrome.
I've tried czml for 2-3 flights and it's running fast so I'm sure we can't do anything with Qt but we can do something with czml.

I came across czml streaming but I don't know how to do that? If you think streaming will help then can you please.... provide one simple example?

How can I do streaming like client - server? Please give example please.

Thanks,
Akshay
Reply all
Reply to author
Forward
0 new messages