Comments (1)
You don't need such changes at all.
You can specify the unit for your response times in the 'responseTimeUnit'
parameter of the BenchmarkDriver annotation in your driver class.
Set it to MICROSECONDS or even NANOSECONDS.
Shanti
On Tue, Jul 9, 2013 at 3:34 PM, nathanila [email protected] wrote:
Please increase the precision of all response time results. Several tests
have response times near 1 ms. When trying out a patch, it is difficult to
know how much the patch was changed.Currently, average and maximum response times are reported to the nearest
1 ms. 90th and 99th percentile response times are reported to the nearest
10 ms. The request is to report average and maximum response times to the
nearest 1 us. 90th and 99th percentile response times to the nearest 1 ms.I realize that this will consume more memory. Please make this a
configuration option so that it can be turned on for more precision and
turned off for saving memory.Here's a list of changes to com.sun.faban.driver.engine.Metrics.java
needed to enable 1 us and 1 ms precision.
- Change RESPBUCKET_SIZE_RATIO = 100
- In the constructor, change the following line to that shown here:
fineRespBucketSize = maxPctNanos / 2000l; // Added 1 more zero- In printSummary(), change the format from 5.3 to 8.6.
formatter.format("%8.6f\n", result.avgResp[i]); formatter.format("%8.6f\n",
result.maxResp[i]); formatter.format("%8.6f\n", result.respSD[i]);Note: The printSummary() changes could be made without increasing the
amount of memory required. It will simply increase the number of digits
printed in the result.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/54
.
from faban.
Related Issues (20)
- Building with JDK 8 or 9.
- runStatus changes to COMPLETED before run finishes logging HOT 1
- Comparison report only displays metrics for the initial driver.
- Statistics view in WebUI errors with multiple drivers.
- Add the feature to generate a SHA hash.
- faban scripts have a hard dependency on bash HOT 1
- Driver gobbles nested exceptions.
- Add modern jdk runtimes to start Faban. HOT 1
- Deploy task fails due to broken upload header handling.
- Connection refused when master starting agend with 1.4.1 HOT 1
- Building fails due to obsolete unsupported source 5 version.
- Dependency on JDK7 or lower to build project.
- Add logging when an Agent sends a kill signal for a run.
- Switch tools to use secure protocols
- org.xml.sax.SAXParseException: Content is not allowed in trailing section HOT 2
- Website link is broken HOT 1
- Error: Host names must not be localhost. Please use real host names or IP addresses instead
- Version bump Log4j.
- Add paginated view of runs.
- XML class definition not found. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faban.