You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (Created) (JIRA)" <ji...@apache.org> on 2011/12/01 14:06:41 UTC

[jira] [Created] (SLING-2311) Sling Performance Testing tool

Sling Performance Testing tool
------------------------------

                 Key: SLING-2311
                 URL: https://issues.apache.org/jira/browse/SLING-2311
             Project: Sling
          Issue Type: New Feature
          Components: Testing
            Reporter: Antonio Sanso
            Priority: Minor


As described/discussed in [0] it would be nice to have a performance test tool in Sling .
This can be useful in different situations (e.g. micro benchmarks of a feature and so on).

Patch to follow

[0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2311:
---------------------------------

    Attachment: ResolveWithManyVanityPath.png

attaching possible outcome of this performance framework
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445898#comment-13445898 ] 

Justin Edelson commented on SLING-2311:
---------------------------------------

@Antonio - do you know how to make the generated graphs wider? The X axis labels are overlapping a bit and it'd be nice to fix them.

Thanks for your help with this!
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2311:
---------------------------------

    Attachment: plot.sh

@justin thanks for committing and improving this stuff. Attaching the plot.sh file (again credit to Jackrabbit team) should we want to aim for something like
http://people.apache.org/~jukka/jackrabbit/report-2011-08-25/report.html
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442681#comment-13442681 ] 

Justin Edelson commented on SLING-2311:
---------------------------------------

I've added this in r1377819. Thanks for the contribution.

I had to make a number of modifications. Chiefly is that since these tests rely on internal methods which change from release to release, the logic for constructing a ResourceResolver is encapsulated into a helper class (called TestHelper - don't love the name, but we can change it).

Added more scenarios for the tests included based on node size, e.g. 1000 vanity paths, 5000 vanity paths, etc.

One thing that I couldn't figure out is why a JcrResourceListener was being created, so I removed that bit. Antonio - please let me know if this needs to be there.

Tests can be run for JCR Resource Resolver 2.0.10, 2.1.0, and 2.1.1-SNAPSHOT (which I'm calling 2.2.0 for the sake of argument).

 
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242306#comment-13242306 ] 

Antonio Sanso commented on SLING-2311:
--------------------------------------

IMHO junit-perf is cool, point is that sometimes is not enough to decorate a unit test since you need
to create a specific 'scenario' e.g.for SLING-2255 the prerequisite was to have an high number of
vanity paths.

About a new module as said this is a 'porting' of  something already existing in jackrabbit and I
have tried to maintain the original idea just adapting a bit the framework to be more 
bundle version friendly rather than release based. An example of a potential outcome is in [0].

[0] https://issues.apache.org/jira/secure/attachment/12520603/ResolveWithManyVanityPath.png
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444387#comment-13444387 ] 

Justin Edelson commented on SLING-2311:
---------------------------------------

@Antonio - I can't get this plot.sh script to work correctly. How did you install Gnuplot? Any other requirements?

I can get the svg files, but the png conversion doesn't work. Any ideas?
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson resolved SLING-2311.
-----------------------------------

    Resolution: Fixed
    
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442690#comment-13442690 ] 

Justin Edelson commented on SLING-2311:
---------------------------------------

changes made for SLING-2579 required some slight tweaking. done in r1377828
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson reassigned SLING-2311:
-------------------------------------

    Assignee: Justin Edelson
    
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2311:
---------------------------------

    Attachment: ResolveWithManyAliasTest.java

Adding new test case covering the scenario discussed in [0] sling:alias support.
It tests node having 1000 children and resource not found.
Here the outcome of the test with sling:alias support enabled

jcr.resource-2.0.11                       51      57      76     263     546

and with sling:alias support  disabled

jcr.resource-2.0.11                        0       0       0       1      48

[0] http://sling.markmail.org/message/mlbw237hchhcyv6s
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445888#comment-13445888 ] 

Antonio Sanso commented on SLING-2311:
--------------------------------------

I temporary put the report here

http://people.apache.org/~asanso/sling/report-2012-08-31/report.html

until we find a better location...
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445900#comment-13445900 ] 

Antonio Sanso commented on SLING-2311:
--------------------------------------

@justing you are right... I'll give a look into it...
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (SLING-2311) Sling Performance Testing tool

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-2311:
---------------------------------------

    Assignee:     (was: Carsten Ziegeler)
    
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466868#comment-13466868 ] 

Justin Edelson commented on SLING-2311:
---------------------------------------

finally added plot.sh in r1392349

current report here: http://people.apache.org/~justin/sling-perf-reports/2012-Oct-01/report.html
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Carsten Ziegeler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241609#comment-13241609 ] 

Carsten Ziegeler commented on SLING-2311:
-----------------------------------------

Great stuff - I think we should definitely have something like this, not sure whether we should start a new module or add it to commons testing or could just test
junit-perf for this?
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (SLING-2311) Sling Performance Testing tool

Posted by "Carsten Ziegeler (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-2311:
---------------------------------------

    Assignee: Carsten Ziegeler
    
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2311:
---------------------------------

    Attachment: SLING-2311-patch.txt

I have attached a prototype of the tool that I have used to produce [0]. 
There are still a lot of things to tweak (pom files, scripts to produce the graph, etc) but it gives an idea of the approach. It is basically a 'porting' of what already exists in Jackrabbit so all credits go to the Jackrabbit project. 


[0] https://issues.apache.org/jira/secure/attachment/12500677/performance.pdf
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443138#comment-13443138 ] 

Antonio Sanso commented on SLING-2311:
--------------------------------------

You are right JcrResourceListener was a left over for something else (namely adding vanityPath on the fly) so it can be safely be removed (for now). Thanks
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2311:
---------------------------------

    Attachment: plot.sh

@justin
apologies I did update an obsolete version. I had the same issue so I took a shortcut I skipped the conversion and referenced directly svg in the html.

uploaded new version
                
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Justin Edelson
>            Priority: Minor
>         Attachments: plot.sh, plot.sh, ResolveWithManyAliasTest.java, ResolveWithManyVanityPath.png, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (SLING-2311) Sling Performance Testing tool

Posted by "Antonio Sanso (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241320#comment-13241320 ] 

Antonio Sanso edited comment on SLING-2311 at 3/29/12 3:42 PM:
---------------------------------------------------------------

Adding new test case covering the scenario discussed in [0] sling:alias support.
It tests node having 1000 children and resource not found.
Here the outcome of the test with sling:alias support enabled (time in ms)
                                                   
                                                min     10%     50%     90%     max
jcr.resource-2.0.11                       51      57      76     263     546

and with sling:alias support  disabled

                                                  min     10%     50%     90%     max
jcr.resource-2.0.11                        0       0       0       1      48

[0] http://sling.markmail.org/message/mlbw237hchhcyv6s
                
      was (Author: asanso):
    Adding new test case covering the scenario discussed in [0] sling:alias support.
It tests node having 1000 children and resource not found.
Here the outcome of the test with sling:alias support enabled

jcr.resource-2.0.11                       51      57      76     263     546

and with sling:alias support  disabled

jcr.resource-2.0.11                        0       0       0       1      48

[0] http://sling.markmail.org/message/mlbw237hchhcyv6s
                  
> Sling Performance Testing tool
> ------------------------------
>
>                 Key: SLING-2311
>                 URL: https://issues.apache.org/jira/browse/SLING-2311
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: ResolveWithManyAliasTest.java, SLING-2311-patch.txt
>
>
> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
> Patch to follow
> [0] http://sling.markmail.org/message/bz44im7aqeae4r57

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira