Page 1 of 2 12 LastLast
Results 1 to 25 of 33

Thread: SCAR Mark

  1. #1
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SCAR Mark

    ..::[ Solarwind's SCAR Mark v0.8 ]::..

    --> Instant Download: v0.8 <--





    Description:

    This script will test the time needed by SCAR to generate a random array and perform a bubble sort on your computer. Please post the progress report.


    Script Information:

    This script is designed to use SRL v3.6 and will always be up to date with the latest SRL release.
    This script is under the GNU General Public License.


    Features:

    - Generates a random array and performs a bubble sort and prints the time taken to sort.





  2. #2
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


  3. #3
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The format for progress reports:

    ArrayLength = 1000;
    MaxRandom = 100;

    Generating random array
    Done generating random array. Took 16 milliseconds.

    Sorting array
    Done sorting array. Took 8453 milliseconds.

  4. #4
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Progress Report: :wink:

    SCAR Code:
    ArrayLength = 2000;
    MaxRandom = 500;

    Generating random array
    Done generating random array. Took 16 milliseconds.

    Sorting array
    Done sorting array. Took 49141 milliseconds.
    Successfully executed

  5. #5
    Join Date
    Aug 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SOLAR!!!
    Once again you amaze us
    BTW:How come oyu don't get on MSN anymore? Don't you remember that project I thought we were going to work on?

    Progress Report:
    SCAR Code:
    ArrayLength = 2000;
    MaxRandom = 550;

    Generating random array
    Done generating random array. Took 78 milliseconds.

    Sorting array
    Done sorting array. Took 81625 milliseconds.
    Successfully executed

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Progress Report

    SCAR Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.

    Sorting array
    Done sorting array. Took 12703 milliseconds.
    Successfully executed

    not quite sure what it does tho.

  7. #7
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by stevenadrien View Post
    SOLAR!!!
    Once again you amaze us
    BTW:How come oyu don't get on MSN anymore? Don't you remember that project I thought we were going to work on?

    Progress Report:
    SCAR Code:
    ArrayLength = 2000;
    MaxRandom = 550;

    Generating random array
    Done generating random array. Took 78 milliseconds.

    Sorting array
    Done sorting array. Took 81625 milliseconds.
    Successfully executed
    I am on MSN, but not lately because of exams. And people, try to keep the variables at
    ArrayLength = 1000;
    MaxRandom = 100;

    This is because we want the results to be for the same thing. If everyone puts different values, the results will be meaningless. Keep ArrayLength at 1000 and MaxRandom at 100.

  8. #8
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by solarwind View Post
    I am on MSN, but not lately because of exams. And people, try to keep the variables at
    ArrayLength = 1000;
    MaxRandom = 100;

    This is because we want the results to be for the same thing. If everyone puts different values, the results will be meaningless. Keep ArrayLength at 1000 and MaxRandom at 100.
    Opps, here a proper progress report:

    SCAR Code:
    ArrayLength = 1000;
    MaxRandom = 100;

    Generating random array
    Done generating random array. Took 15 milliseconds.

    Sorting array
    Done sorting array. Took 11485 milliseconds.

  9. #9
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cool thanks. I'll make a bubblesort benchark in C/Java and show just how slow SCAR is. I bet C/Java could do it over 20 times as fast. I'm not even joking.

  10. #10
    Join Date
    Oct 2006
    Location
    Texas
    Posts
    1,450
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    w00t i think i have the best results

    SCAR Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.

    Sorting array
    Done sorting array. Took 11766 milliseconds.
    Successfully executed

  11. #11
    Join Date
    Aug 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    O.O My bad
    Heere you go

    Progress Report:
    SCAR Code:
    ArrayLength = 1000;
    MaxRandom = 100;

    Generating random array
    Done generating random array. Took 15 milliseconds.

    Sorting array
    Done sorting array. Took 16860 milliseconds.
    Successfully executed

  12. #12
    Join Date
    Dec 2006
    Posts
    374
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nah i got best results =] i think..? lol

    SCAR Code:
    enerating random array
    Done generating random array. Took 0 milliseconds.

    Sorting array
    Done sorting array. Took 9922 milliseconds.
    Successfully executed
    Another awsome scripting forum! Check it out: www.Uberbroproductions.net/forums
    TRY MY VARROCK ZAMMY MAGE CURSER/CONFUSER/WEAKENER! THE LINK IS BELOW
    http://www.srl-forums.com/forum/varr...56.html?t=6356
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~


  13. #13
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    and now, this is my proggy:

    [BGenerating random array
    Done generating random array. Took 16 milliseconds.

    Sorting array
    Done sorting array. Took 11625 milliseconds.
    Successfully executed[/B]
    Somekinda like the same as BuckleyInDaHouse
    You see you're not the only one
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  14. #14
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by solarwind View Post
    The format for progress reports:

    ArrayLength = 1000;
    MaxRandom = 100;

    Generating random array
    Done generating random array. Took 16 milliseconds.

    Sorting array
    Done sorting array. Took 8453 milliseconds.

    I think I've got the best results lol. The sorting of the array is the most important part. I got 8453 milliseconds on my AMD Athlon 4200+ Dual Core computer.

  15. #15
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think i got the worst one with my old hunk of junk:
    Generating random array
    Done generating random array. Took 20 milliseconds.

    Sorting array
    Done sorting array. Took 24715 milliseconds.
    Successfully executed

  16. #16
    Join Date
    Dec 2006
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Progress report:
    Generating random array
    Done generating random array. Took 16 milliseconds.

    Sorting array
    Done sorting array. Took 12719 milliseconds.
    Successfully executed


    That any good?

  17. #17
    Join Date
    Feb 2006
    Location
    Under a rock.
    Posts
    1,351
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Not sure why you have the array 1000000 long, when it should be 1000.. It's taking so long because it has to create an entire array it doesn't even use, then sort the array's that are all equal to 0.

    Although the results are still high, it shortens it a bit.. I would like to see the results from java, or another language.
    Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.
    
    Sorting array
    Done sorting array. Took 9234 milliseconds.
    SRL Developer
    ◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘◘

  18. #18
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Cheesehunk View Post
    Not sure why you have the array 1000000 long, when it should be 1000.. It's taking so long because it has to create an entire array it doesn't even use, then sort the array's that are all equal to 0.

    Although the results are still high, it shortens it a bit.. I would like to see the results from java, or another language.
    Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.
    
    Sorting array
    Done sorting array. Took 9234 milliseconds.
    1) It won't sort the part of the array that it does not use.
    2) Will do. I'm going to do something in C and Java and show results side by side.

  19. #19
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Dude... Here's my results:
    Code:
    Generating random array
    Done generating random array. Took 15 milliseconds.
    
    Sorting array
    Done sorting array. Took 12078 milliseconds.
    Not that good, but I'm on a laptop with only Centrino 1.6 gHz, so thats my excuse :P

    Oh, and yes, I completely agree with you Solarwind, SCAR is slow as hell. The algorithm it uses is probably at fault, but I dunno too much about how SCAR is made so i dunno .

    It's been a while... but I'm BACK!!!

  20. #20
    Join Date
    Nov 2006
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can you tell me wut it does?...lol

  21. #21
    Join Date
    Dec 2006
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here is my result.

    Generating random array
    Done generating random array. Took 10 milliseconds.

    Sorting array
    Done sorting array. Took 10996 milliseconds.
    Successfully executed
    Not to bad for a laptop

    ScarPreRelease 3.23 rev 80, Includes - Dev Rev 457

  22. #22
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)
    I think my computer just PWNED everyone elses -

    Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.
    
    Sorting array
    Done sorting array. Took 6375 milliseconds.

    Two more-
    Code:
    Generating random array
    Done generating random array. Took 0 milliseconds.
    
    Sorting array
    Done sorting array. Took 6344 milliseconds.
    Code:
    Generating random array
    Done generating random array. Took 16 milliseconds.
    
    Sorting array
    Done sorting array. Took 6234 milliseconds.
    Interested in C# and Electrical Engineering? This might interest you.

  23. #23
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Code:
    Generating random array
    Done generating random array. Took 15 milliseconds.
    
    Sorting array
    Done sorting array. Took 5953 milliseconds.
    Successfully executed
    that was on my dads comp this is on mine -->

    Code:
    Generating random array
    Done generating random array. Took 15 milliseconds.
    
    Sorting array
    Done sorting array. Took 13360 milliseconds.
    Successfully executed
    dunno if thats good..

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  24. #24
    Join Date
    Feb 2007
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Generating random array
    Done generating random array. Took 0 milliseconds.

    Sorting array
    Done sorting array. Took 10953 milliseconds.
    Successfully executed

  25. #25
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)
    Quote Originally Posted by jukka View Post
    Code:
    Generating random array
    Done generating random array. Took 15 milliseconds.
    
    Sorting array
    Done sorting array. Took 5953 milliseconds.
    Successfully executed
    that was on my dads comp this is on mine -->
    Wow, what kind of pc does your dad have?
    Interested in C# and Electrical Engineering? This might interest you.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Black Mark?
    By nikos in forum RuneScape News and General
    Replies: 13
    Last Post: 02-21-2008, 11:36 PM
  2. Replies: 28
    Last Post: 06-22-2006, 04:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •