Survey-library: Setting a property currentPageNo is working too slow

Created on 2 Nov 2018  路  15Comments  路  Source: surveyjs/survey-library

Hello! I have an unpleasant issue related to performance in case I set currentPageNo property. It takes from 6 to 30 sec.

  • browser: Chrome
  • browser version: 70.0.3538.77
  • surveyjs platform: jquery
  • surveyjs version: 1.0.52

Why does it happen?

perfomance issue question

All 15 comments

Could you provide us with exact steps to reproduce the issue on our online demos or a link to a plunker illustrating the issue?

Could you provide us with exact steps to reproduce the issue on our online demos or a link to a plunker illustrating the issue?

I can provide you my json object. Whether is it be enough? I cannot reproduce my example in jsfiddle: is is too big.

@stsiushkevich any json with reproducing the bug will be ok. As minimal as possible :)

Do you use SurveyJS Builder or just SurveyJS Library?

The easiest way to fix the issue is provide us with a Minimal, Complete, and Verifiable example. This should not be exactly your JSON or code. Just a small sample illustrating the issue. In this case we will be able to investigate it in our side and find the cause of the issue.

@stsiushkevich any json with reproducing the bug will be ok. As minimal as possible :)

Do you use SurveyJS Builder or just SurveyJS Library?

We use SurveyJS Library. I prepared JSON object that we use with previously renamed fields. But the amount of questions is the same. I tested this object on Survey Builder and got 械褉褍 same performance issue when I switch pages in Test Survey tab.

Survey.txt

Please try to switch all pages especially last in the list and watch for the speed of switching.

@stsiushkevich At first thank you for providing the json.
I have played with it and I can see a delay in one-two seconds on switching pages. We will try to find the reason of the delay.
By the way, do you use the latest version? We have improved perfomance couple weeks ago. However, mostly for SurveyJS Builder (Editor).

Thank you,
Andrew

@stsiushkevich At first thank you for providing the json.
I have played with it and I can see a delay in one-two seconds on switching pages. We will try to find the reason of the delay.
By the way, do you use the latest version? We have improved perfomance couple weeks ago. However, mostly for SurveyJS Builder (Editor).

Thank you,
Andrew

We don't use Builder, only surveyjs - Survey JavaScript library v1.0.52

@stsiushkevich I can see the performance issue, especially on the 5-th page. I can't promise the quick fix, but we will definately work on the issue. We will back here as soon as we have something.

Thank you,
Andrew

@stsiushkevich We've investigated the issue and made some improvements. You can check it in the nearest minor update. Most likely it will be released next tuesday.

@stsiushkevich The new version is released. Could you please try it out? We have increase the loading json time significantly as well.

Thank you,
Andrew

Excellent! I tested and discovered a significant difference! Thank you for your improvement.

@stsiushkevich Great! However, is the perfomance ok for you now?

Thank you,
Andrew

@stsiushkevich Great! However, is the perfomance ok for you now?

Thank you,
Andrew

Yes! I think you can close the issue.

Great!

Was this page helpful?
0 / 5 - 0 ratings