Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Andac Lulec  
#1 Posted : 30 October 2018 19:04:03(UTC)
Andac Lulec

Rank: Newbie

Groups: Registered
Joined: 21/08/2018(UTC)
Posts: 3
Canada

Hi,

I am using the SMath for a while, and I really like it. First of all, I would like to thank you for all your efforts.

After I started to using latest version (0.99 - 6839), my files with background images are opening very slowly. Also after the file is opened, any action that I make takes longer than usual. I used the same background image with the older versions but I didn't have the same problem.

I am attaching the same file with and without the background image. In my computer, it takes to 10.673 sec to open the file with the background image, and it takes less than a second when there is no background image.

BackgroundTest_nobackground.sm (17kb) downloaded 16 time(s). BackgroundTest.sm (2,204kb) downloaded 18 time(s).

Edited by moderator 06 November 2018 23:08:41(UTC)  | Reason: marked as Fixed

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline PompelmoTell  
#2 Posted : 30 October 2018 19:24:16(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
I opened your files with the latest beta of Smath. The slowdown is much more modest than what you have indicated. I note the size of the two files that the background image is very heavy (about 2 Mb ) and from what I see does not seem justified for the background you get: I think you can do a reduction operation (externally to smath) and optimize the file
sergio
Offline Andrey Ivashov  
#3 Posted : 30 October 2018 19:47:42(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello.

Workaround suggested by Sergio works for me.

In addition I would suggest to use the latest features implemented in SMath Studio: Header/Footer and Full page background together with correct margins. Here is what I get as a result:
BackgroundTest_mod.sm (398kb) downloaded 29 time(s).

Regarding performance - I will fix it soon.

Best regards.
thanks 2 users thanked Andrey Ivashov for this useful post.
on 30/10/2018(UTC),  on 30/10/2018(UTC)
Offline Andac Lulec  
#4 Posted : 30 October 2018 20:15:13(UTC)
Andac Lulec

Rank: Newbie

Groups: Registered
Joined: 21/08/2018(UTC)
Posts: 3
Canada

Thanks for your replies. I will try Andrey's file.

But just for future reference, I downloaded an older version (0.99 6671) and tested another file which is larger (11 pages, same background image, similar amount of calculation per page) it is opened less than a second. Please don't get me wrong, besides the things that I did not do in an optimal way, I just wanted to let you now there is an interesting performance issue. Thank you very much again for your quick replies.

Best regards.
Offline Jean Giraud  
#5 Posted : 31 October 2018 00:17:02(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Andac Lulec Go to Quoted Post
... files with background images ...

I guess I don't understand what is a "background image" in your demo.
2 MB for those 3 gadgets ... Oh !

Unk.PNG

Offline Andrey Ivashov  
#6 Posted : 31 October 2018 09:30:23(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Jean, this is just an example. User may want to use image with even more resolution because of different reasons (i.e. requirements in the company). The main question is that SMath Studio should be prepared for such situations.

So, it is something to be done in any case.

Best regards.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 31/10/2018(UTC)
Offline Andrey Ivashov  
#7 Posted : 06 November 2018 23:05:00(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Performance issue fixed in the latest stable version.

Best regards.
thanks 2 users thanked Andrey Ivashov for this useful post.
on 06/11/2018(UTC),  on 06/11/2018(UTC)
Offline Andac Lulec  
#8 Posted : 07 November 2018 00:49:12(UTC)
Andac Lulec

Rank: Newbie

Groups: Registered
Joined: 21/08/2018(UTC)
Posts: 3
Canada

Originally Posted by: Andrey Ivashov Go to Quoted Post
Performance issue fixed in the latest stable version.

Best regards.


Thanks a lot Andrey. It works great Good
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.