[SERVER-35537] Create version of benchRun() which can be used with embedded Created: 11/Jun/18  Updated: 29/Oct/23  Resolved: 10/Jul/18

Status: Closed
Project: Core Server
Component/s: Performance, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.1

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
related to SERVER-36073 Save stats from BenchRunner::finish()... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v4.0
Sprint: TIG 2018-07-02, TIG 2018-07-16
Participants:
Linked BF Score: 0
Story Points: 8

 Description   

This makes it possible use our existing https://github.com/mongodb/mongo-perf tests as performance tests for embedded. We can likely get away with creating separate executables for each mongo-perf test case that uses ServiceEntryPointEmbedded, embedded::initialize(), and DBDirectClient (instead of DBClientConnection) to perform operations.

Note: We'll also need to remove or split out the "check" function as it requires linking in the JavaScript engine.



 Comments   
Comment by Githook User [ 09/Aug/18 ]

Author:

{'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-35537 Link DBClientConnection into shell/benchrun library.

The changes from cfa96795eefed2061628891c43ccdc2c256bb40a (which aren't
present on the 4.0 branch) had moved the class to its own header file
and translation unit.
Branch: v4.0
https://github.com/mongodb/mongo/commit/a20a1b48b49550359d30425c381aae832e1788f1

Comment by Githook User [ 06/Aug/18 ]

Author:

{'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-35537 Create mongoebench for running benchRun against mobile.

It take a JSON config file with a "pre" section for any setup logic and
an "ops" section for the operations that the benchRun workers should
execute repeatedly.

Also removes the usage of the check function from mr_shard_version.js.

(cherry picked from commit a750bf210f70dd6e15cd65a15d50aeb8cd75fa3f)
(cherry picked from commit acd9fd112d1c2f591f04a31ed6489d9f4b0ec0e8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/5a38e3afba9061e8be9c508cc89fd13c0f305adb

Comment by Githook User [ 10/Jul/18 ]

Author:

{'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-35537 Remove usage of check function from mr_shard_version.js.
Branch: master
https://github.com/mongodb/mongo/commit/acd9fd112d1c2f591f04a31ed6489d9f4b0ec0e8

Comment by Max Hirschhorn [ 10/Jul/18 ]

Reopening this ticket to remove the usage of the "check" function from the mr_shard_version.js test.

Comment by Githook User [ 10/Jul/18 ]

Author:

{'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-35537 Create mongoebench for running benchRun against mobile.

It take a JSON config file with a "pre" section for any setup logic and
an "ops" section for the operations that the benchRun workers should
execute repeatedly.
Branch: master
https://github.com/mongodb/mongo/commit/a750bf210f70dd6e15cd65a15d50aeb8cd75fa3f

Generated at Thu Feb 08 04:40:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.