Skip to content

fair play #10

@b0c1

Description

@b0c1

Ok, please check your code again bro, and play fair.

I inspected two test: spray and scalatra.
The problems:

  • spray doesn't have medium and slow resource, only fast
  • scalatra text all case come from a Responder class, instead of spray (in spary the data is static text, not formatted and calculated with nother method which call system functions like currentTimeMillis and Thread.sleep

example a fast-test result on my local machine:
Spray:

D:\Work\scala\workspace\scamper>\Work\utility\apache-jmeter-2.9\bin\jmeter.bat -n -t fast-test.jmx
Created the tree successfully using fast-test.jmx
Starting the test @ Mon Oct 21 14:57:35 CEST 2013 (1382360255961)
Waiting for possible shutdown message on port 4445
localhost:9000/fast = 100000 in  13,1s = 7639,4/s Avg:     1 Min:     0 Max:    63 Err:     0 (0,00%)
Tidying up ...    @ Mon Oct 21 14:57:49 CEST 2013 (1382360269404)
... end of run

Scalatra:

D:\Work\scala\workspace\scamper>\Work\utility\apache-jmeter-2.9\bin\jmeter.bat -n -t fast-test.jmx
Created the tree successfully using fast-test.jmx
Starting the test @ Mon Oct 21 14:59:17 CEST 2013 (1382360357753)
Waiting for possible shutdown message on port 4445
localhost:9000/fast = 100000 in  12,1s = 8262,4/s Avg:     1 Min:     0 Max:    65 Err:     0 (0,00%)
Tidying up ...    @ Mon Oct 21 14:59:30 CEST 2013 (1382360370212)
... end of run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions