1.7.0 performance

huepf
Messages : 5
Inscription : mer. nov. 27, 2013 6:31 am

1.7.0 performance

Message par huepf »

We have similar issues.
We started a new test campaign with around 250 tests and 8 users who use the system. Currently the system uses all CPU resources. Even after a fresh start of Squash the CPU load immediately goes up to 100% which makes the system unusable for some. I hope this will be improved in the next version.
lmasser
Messages : 452
Inscription : mer. juin 13, 2012 10:59 am

1.7.0 performance

Message par lmasser »

Hi,

When did you encounter this problem ?

Are you inlining image on your test cases ?

Please give us more precisions in order we can help you.
Avatar de l’utilisateur
gregfqt
Messages : 41
Inscription : lun. nov. 14, 2011 3:22 pm

1.7.0 performance

Message par gregfqt »

[quote="Laurent MASSER" post=2736]
Are you ilnlining image on your test cases ?[/quote]

More explicitely, an image is "inlined" in a test case when you add this image to a rich text field by dragging / dropping it from your computer into the text field.
huepf
Messages : 5
Inscription : mer. nov. 27, 2013 6:31 am

1.7.0 performance

Message par huepf »

We just did an update to the latest build 7.0.4 but there was no improvement.
The log file shows several exception if you scroll to the end of the file.
The java process runs on almost 200% CPU load (dual core CPU).
There might be some images in our tests but only very few. I don't think it is related to the images as the CPU load goes up even if no one has Squash open in the browser.

Let me know if you need more details.
huepf
Messages : 5
Inscription : mer. nov. 27, 2013 6:31 am

1.7.0 performance

Message par huepf »

I had a closer look at the specific test that doesn't run. Turns out exactly this test has an inline image.
Is there something I can do about this except to remove the images?
Avatar de l’utilisateur
gregfqt
Messages : 41
Inscription : lun. nov. 14, 2011 3:22 pm

1.7.0 performance

Message par gregfqt »

@Florian :
I'm afraid I cannot find your logfile

We did find a performance bottleneck which can use 100%+ CPU for 10~20 min.
It is triggered when you try to run an execution AND the test case contains inlined images. CPU load high when you close all browsers.

This bottleneck will be removed in the next maintenance verision of Squash TM which should be announced pretty soon.
Avatar de l’utilisateur
gregfqt
Messages : 41
Inscription : lun. nov. 14, 2011 3:22 pm

1.7.0 performance

Message par gregfqt »

[quote="Florian" post=2741]I had a closer look at the specific test that doesn't run. Turns out exactly this test has an inline image.
Is there something I can do about this except to remove the images?[/quote]

You can follow these steps to put images in your test cases. It is less convenient but it does not have the 100% CPU side effect.

1. Upload your image as an attachment
2. In the attachments table, right-click on the image you just uploaded and select "copy link address"
3. Edit the test case field which contains the image and remove this image
4. In the text editor, click the "image" button. In the "image properties" popup, paste the url you copied at step 2. in the appropriate field

Your image should still appear but the image data is no longer inlined into the field's html code

Note : an execution is a snapshot of the test case when the execution is created. As a consequence, you also have to delete and recreate the buggy execution after you modified the test case.

I hope this solves your problem, let us know if it does not.
huepf
Messages : 5
Inscription : mer. nov. 27, 2013 6:31 am

1.7.0 performance

Message par huepf »

Thank you for your help.
I have already removed the test execution and the image from the test definition. It works again now.

And thank you for the details how we still can use images.
Répondre

Revenir à « Questions générales / General questions »