jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samoht-fr <...@git.apache.org>
Subject [GitHub] jmeter pull request: Use typed methods such as setInt, setDouble, ...
Date Mon, 24 Aug 2015 21:21:17 GMT
GitHub user Samoht-fr opened a pull request:

    https://github.com/apache/jmeter/pull/27

    Use typed methods such as setInt, setDouble, setDate ... for prepared statement

    Use typed methods such as `setInt`, `setDouble`, `setDate` ... for prepared statement.
    
    It moves parsing from the driver to Jmeter, but it allows to compare more easily two drivers
/ databases. 
    Moreover it makes benchmark closer to reality, in fact for performance reasons we try
to avoid calls to setObject as the driver as to cast/parse String parameters.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Samoht-fr/jmeter trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/27.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #27
    
----
commit 4662aff8a395332f4f41d593c0e7bdaaf86d9b59
Author: tpeyrard <thomas.peyrard@gmail.com>
Date:   2015-08-24T21:18:24Z

    Use typed methods such as setInt, setDouble, setDate ... for prepared statements instead
of calling every time setObject.
    
     It moves parsing from the driver to Jmeter, but it allows to compare more easily two
drivers / databases.
     Moreover it makes benchmark closer to reality, in fact for performance reasons we try
to avoid calls to setObject as the driver as to cast/parse String parameters.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message