[SERVER-5861] Support a richer templating language in benchRun Created: 17/May/12  Updated: 11/Jul/16  Resolved: 13/Jun/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.1.2

Type: New Feature Priority: Major - P3
Reporter: Andy Schwerin Assignee: siddharth.singh@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:

 Description   

Beyond #RAND_INT, we should support #LITERAL, #CONCATENATE, #RAND_STRING and maybe #COND, and #ELEMENT. The solution should be a simple BSON->BSON template language.



 Comments   
Comment by auto [ 12/Jun/12 ]

Author:

{u'date': u'2012-06-07T10:13:52-07:00', u'email': u'singhsiddharth@gmail.com', u'name': u'Siddharth Singh'}

Message: SERVER-5861 Support for template language-benchRun

Support for #CONCAT and #RAND_STRING
Branch: master
https://github.com/mongodb/mongo/commit/4af8516d396ab23c755ce97b4dba6cf649b9d4e8

Comment by siddharth.singh@10gen.com [ 12/Jun/12 ]

https://github.com/mongodb/mongo/commit/4af8516d396ab23c755ce97b4dba6cf649b9d4e8

Comment by Asya Kamsky [ 11/Jun/12 ]

Would be great to be able to run single commands in the framework also (i.e. I only see a way to run a command for X seconds)

Comment by siddharth.singh@10gen.com [ 07/Jun/12 ]

Step 2 #RAND_STRING: http://codereview.10gen.com/7982131/

Comment by auto [ 07/Jun/12 ]

Author:

{u'login': u'singhsiddharth', u'name': u'Siddharth Singh', u'email': u'singhsiddharth@gmail.com'}

Message: SERVER-5861 Change random() to rand() for Windows
Branch: master
https://github.com/mongodb/mongo/commit/5d0285f42e7161376b8e46233294fa5da6553ecf

Comment by auto [ 07/Jun/12 ]

Author:

{u'login': u'singhsiddharth', u'email': u'singhsiddharth@gmail.com', u'name': u'Siddharth Singh'}

Message: SERVER-5861 Support for template language-benchRun

Support for #RAND_INT
Branch: master
https://github.com/mongodb/mongo/commit/f95ee0bea2636a42d451d904672666f7726fdb1c

Generated at Thu Feb 08 03:10:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.