-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test 5: Updates #263
Comments
Some important notes for test 5:
|
The requirements for Test 5 are now ready for use and available here: http://www.techempower.com/benchmarks/#section=code |
Just out of curiosity: why did you choose to send the server header? Isn't it good practice, or at least encouraged [1] to deactivate it? [1] - http://www.troyhunt.com/2012/02/shhh-dont-let-your-response-headers.html |
Hi @Skamander. I'm not opposed to deactivating it, but several of the tests are sending a |
@Skamander my preference would be to try and remove the |
Hi @bhauer, @pfalls1 - thanks for your response. I looked at the response headers of amazon, google, facebook, twitter, pinterest and a few other big sites earlier, and surprisingly only facebook deactivates the server header. google, twitter and amazon send a custom server header (google for example gws). Not sure if it really is best practice like I thought (and many blog posts suggest). ^^ |
Closing this issue since we've got Test 5's requirements solidified now. |
See issue #133 concerning additional test types.
We are working on a test to exercise database updates. This is a preliminary specification and we may iterate this some. I've created this issue because we've already received an implementation of Test 5 prior to any specification being written up. If you want to begin implementation prior to a final specification, please just recognize that we may change the specification.
Test 5 is likely to be a variation of Test 3, the multiple database query test. Analogous to Test 3, it will include a URL-tunable parameter ("queries") specifying the number of updates to run.
Worlds
table that is known to have 10,000 rows.If available, the implementation may use a batch update statement. The implementation may use transactions.
For raw tests (that is, tests without an ORM), we still expect each updated row to receive a unique new RandomNumber value. It is not acceptable to change the RandomNumber value of all N rows to the same random number using an
UPDATE ... WHERE id IN (...)
clause.The text was updated successfully, but these errors were encountered: