18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

CPU usage goes up to 95%

tinchie8tinchie8 Members
edited November -1 in Sahi - Open Source
Hi,

I was wondering. when I ran SAHI today, I noticed that it takes up 95% CPU usage. What i did was looped a script for 250 times. from 0-50, the script was just running fine and did not take that much cpu but when I reached 60+, it takes up 80-95%.


Thanks,
tinchie

Comments

  • hello narayan, any thoughts on this??
  • I have the same problem ... and with a lot of loops it finishes by crashing...
  • narayannarayan Administrators
    Sahi does not perform too well if the number of statements it executes becomes large.
    Try breaking down the script into smaller scripts, or run the same script multiple times.
  • how do you run the scripts multiple times???
  • Create a .suite of tests so they can be run in batch mode:

    sahi.co.in/w/automating-running-of-multiple-testsrunning-in-batch-mode
  • i havent tried making .suite

    i'll try this one, once i know how to make .suite files
Sign In or Register to comment.