Announcement

Collapse
No announcement yet.

script: executewait "prg.bat" + writing into .txt-file with ">>z_perf_stats.txt"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • script: executewait "prg.bat" + writing into .txt-file with ">>z_perf_stats.txt"

    Hello Passmark,

    first I want to thank you for your fantastic, wonderful und brillant benchmark software. I am using it now about 2 years and have run more than 8.000 benchmarks with it. It delivers in an really outstanding way results (in comparison eg. to futuremark 5,7,8 and vantage) and helps me do my work in speeding up computers and proofing it in a very powerful way.

    I am not a "satisfied customer", def not....

    I am a enthusiastic fan of the software you create.

    The idea, of comparing results with your database to see a comparison with the worlds (best) computers is magnificent.

    I am so happy about using your software.

    Now to my problem - I hope there will be a solution.

    I have written a script, which makes 73 hdd tests (see attachement if wanted, but it is not necessary, I think) 72 with certain specifications and the first with original settings

    Code:
    CLEARRESULTS
    SETDURATION 10 #2-60 - 3=short 6=med 10=long  20= very long
    SETITERATIONS 5
    SUPPRESSWARNINGS OFF
    SETDISK "C:"
    
    ##################################
    
    EXECUTEWAIT "rxpcc.exe" edit {04a6f5ce-37cb-4fc4-9b69-f6fbca4b9ae1} -m 1 -b 512 -s
    EXECUTEWAIT "rxpcc.exe" pause -a -s
    EXECUTEWAIT "rxpcc.exe" perf -a -s >>D:\z_perf_stats.txt [U][B]<<<<<<----- problem[/B][/U]
    
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - 00001-512 - SP347vR800-T1024-svxxld-dvxlu+14891053"
    
    RUN DI_READ
    RUN DI_WRITE
    RUN DI_RANDOM
    
    #EXPORTHTML "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\ASUSP7-i750-2.6@3.7-16GB@1136 - 00000-000 - SP347vR800-T1024-svxxld-dvxlu+14891053.html"
    EXPORTTEXT "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\txt\ASUSP7-i750-2.6@3.7-16GB@1136 - 00000-000 - SP347vR800-T1024-svxxld-dvxlu+14891053.txt" SINGLELINE
    EXPORTTEXTF "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\txt-formatted\ASUSP7-i750-2.6@3.7-16GB@1136 - 00000-000 - SP347vR800-T1024-svxxld-dvxlu+14891053-ft.txt"
    EXPORTCSV "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\csv\ASUSP7-i750-2.6@3.7-16GB@1136 - 00000-000 - SP347vR800-T1024-svxxld-dvxlu+14891053.csv" SINGLELINE
    EXPORTBASELINE "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\ASUSP7-i750-2.6@3.7-16GB@1136 - 00000-000 - SP347vR800-T1024-svxxld-dvxlu+14891053.pt"
    
    EXECUTEWAIT "rxpcc.exe" resume -a -s
    EXECUTEWAIT "rxpcc.exe" dwresume -a -s
    ##################################
    
    EXECUTEWAIT "rxpcc.exe" edit {04a6f5ce-37cb-4fc4-9b69-f6fbca4b9ae1} -m 128 -b 512 -s
    EXECUTEWAIT "rxpcc.exe" perf -a -s >>D:\z_perf_stats.txt [U][B]<<<<<<----- problem[/B][/U]
    
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-512[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    
    RUN DI_READ
    RUN DI_WRITE
    RUN DI_RANDOM
    
    #EXPORTHTML "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\ASUSP7-i750-2.6@3.7-16GB@1136 - 00128-512 - SP347vR800-T1024-svxxld-dvxlu+14891053.html"
    EXPORTTEXT "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\TXT\ASUSP7-i750-2.6@3.7-16GB@1136 - 00128-512 - SP347vR800-T1024-svxxld-dvxlu+14891053.txt" SINGLELINE
    EXPORTTEXTF "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\txt-formatted\ASUSP7-i750-2.6@3.7-16GB@1136 - 00128-512 - SP347vR800-T1024-svxxld-dvxlu+14891053-ft.txt"
    EXPORTCSV "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\csv\ASUSP7-i750-2.6@3.7-16GB@1136 - 00128-512 - SP347vR800-T1024-svxxld-dvxlu+14891053.csv" SINGLELINE
    EXPORTBASELINE "X:\z_results\___ ASUS P7P55D - W10\passmark performance test 9\ASUSP7-i750-2.6@3.7-16GB@1136 - 00128-512 - SP347vR800-T1024-svxxld-dvxlu+14891053.pt"
    
    ##################################
    
    EXECUTEWAIT "rxpcc.exe" edit {04a6f5ce-37cb-4fc4-9b69-f6fbca4b9ae1} -m 128 -b 256 -s
    EXECUTEWAIT "rxpcc.exe" perf -a -s >>D:\z_perf_stats.txt [U][B]<<<<<<----- problem[/B][/U]
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-256[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    
    RUN DI_READ
    RUN DI_WRITE
    RUN DI_RANDOM
    ...
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-128[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    ...
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-064[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    ...
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-032[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    ...
    ...
    ...
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00128-004[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    ...
    SETCOMPUTERNAME "ASUSP7-i750-2.6@3.7-16GB@1136 - [B]|||changes|||[/B]00256-512[B]|||changes|||[/B] - SP347vR800-T1024-svxxld-dvxlu+14891053"
    ...
    Code:
    EXECUTEWAIT "rxpcc.exe" perf -a -s
    is the problem

    I wanna export the results of the "rxpcc.exe"perf -a -s" into a .txt file.

    Normally, with a batch file, I do it over a link:

    Code:
    "D:\z_rxpcc - perf.bat" >>D:\z_perf_stats.txt
    Code:
    z_rxpcc - perf.bat content:
    [USER="44170"]Echo[/USER] off
    echo %time% %date%
    rxpcc perf -a -s
    Adding ">>D:\z_perf_stats.txt" in the link enables the text export function in batch files.

    But with the executewait command this does not work because only ".exe," ".com", ".bat" files are allowed, ".lnk" files not.

    Do you have a solution for me?

    Second question:

    Is there any solution in shortening my 30 pages script in something like a for ... next with two variables?

    I got to run in the outer run 128 - 256 - 512 ... 8192 - 16384 and in the inner run 512 - 256 - 128 - 8 - 4

    In VB it would be something like this:

    Code:
    Dim MB(1 to 8), BS(1 to 8)
    MB(1)=128, MB(2) = 256, ... MB(8) =16384  
     BS(1)= 512, BS(2) =256,  ... BS(8) = 4   
     For I = 1 to 8   
     For J = 1 to 8   
     rxpcc edit {86DC2354-794E-4CBD-89FF-45DE934F907E} -m MB(I) -b BS(J) -s RUN DI_ALL EXPORT ... .... Next I Next J
    To overview 30 pages, it is quite a lot of work, - it would be easier I could write the commands in a for loop.

    Do you see a possybility?
    3rd question:
    Is there a possibility, that an exported html does NOT open the browser after creating it.


    Thanks a lot for your support in advance...

    Elmar
    Attached Files

  • #2
    But with the executewait command this does not work because only ".exe," ".com", ".bat" files are allowed, ".lnk" files not.
    Do you have a solution for me?
    Is there any reason you can't change the perf.bat file to contain the redirect for the output of the rpxcc command?

    Code:
    rxpcc perf -a -s >> D:\z_perf_stats.txt
    To overview 30 pages, it is quite a lot of work, - it would be easier I could write the commands in a for loop.Do you see a possybility?
    No this isn't possible in the current scripting engine. We'll add it to the list of requested features but something like this would require a very large amount of work to enable the PerformanceTest scripting engine to be able to process and execute arbitrary loops of commands like this.

    Is there a possibility, that an exported html does NOT open the browser after creating it.
    We'll make a change in the next release so that the browser isn't opened automatically after a script export.

    Comment


    • #3
      Is there any reason you can't change the perf.bat file to contain the redirect for the output of the rpxcc command?
      I think, the reason is my own stupidity, but I will try to put it in the batch file. I remember I already tried, but it didnt work - will try again and let you know

      Code:
      No this isn't possible in the current scripting engine. We'll add it to the list of requested features but something like this would require a very large amount of work to enable the PerformanceTest scripting engine to be able to process and execute arbitrary loops of commands like this.
      OK, I do not expect this - I just hoped, that there could be a certain trick to simulate that. Then I will go on in working in Word with the script and replacing issues wide the replace command there.

      We'll make a change in the next release so that the browser isn't opened automatically after a script export.
      Ok, would be fine. I propose a parameter AUTOOPEN like the added SINGLELINE, you could add it to the other export commands as well, if there is a sense.

      Thanks a lot for quick answer, I feel really appreciated and well supported.

      Comment

      Working...
      X