You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/21 08:33:00 UTC

[jira] [Work logged] (AVRO-3464) Rust: Print user frientlier output for the 'benchmark' example

     [ https://issues.apache.org/jira/browse/AVRO-3464?focusedWorklogId=744878&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-744878 ]

ASF GitHub Bot logged work on AVRO-3464:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Mar/22 08:32
            Start Date: 21/Mar/22 08:32
    Worklog Time Spent: 10m 
      Work Description: martin-g opened a new pull request #1614:
URL: https://github.com/apache/avro/pull/1614


   Old:
   ```
   10000,1,Small,0.007364553,0.031123657
   10000,1,Big,0.035918282,0.070638095
   1,100000,Small,2.581216969,12.182083002
   100,1000,Small,0.104473121,0.429455526
   10000,10,Small,0.083368471,0.312625975
   1,100000,Big,5.799714721,44.469941304
   100,1000,Big,0.421531543,1.295618375
   10000,10,Big,0.572024442,1.554042001
   ```
   
   New:
   ```
   Count		Runs		Big/Small	Total write secs	Total read secs
   10000		1		        Small		0.0072546		0.030194991
   10000		1		        Big		        0.03440565		0.072913845
   1		        100000		Small		2.562500111		11.847315748
   100		        1000		Small		0.106402492		0.409962211
   10000		10		        Small		0.076109698		0.289378503
   1		        100000		Big		        5.566392901		43.606074983
   100		        1000		Big		        0.39528024		1.203362874
   10000		10		        Big		        0.356784052		0.72371213
   ```
   
   
   ### Jira
   
   - [ ] My PR addresses the following [Avro Jira](https://issues.apache.org/jira/browse/AVRO/) issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"
     - https://issues.apache.org/jira/browse/AVRO-XXX
     - In case you are adding a dependency, check if the license complies with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   
   ### Tests
   
   - [ ] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   ### Commits
   
   - [ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "[How to write a good git commit message](https://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   - [ ] In case of new functionality, my PR adds documentation that describes how to use it.
     - All the public functions and the classes in the PR contain Javadoc that explain what it does
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 744878)
    Remaining Estimate: 0h
            Time Spent: 10m

> Rust: Print user frientlier output for the 'benchmark' example
> --------------------------------------------------------------
>
>                 Key: AVRO-3464
>                 URL: https://issues.apache.org/jira/browse/AVRO-3464
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: rust
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the output from the `benchmark` example is a comma separated without header and it is a bit unclear that the values are.
>  
> IMO it would be good to add header and use (double) tabs as separators.
>  
> Old:
> {code:java}
> 10000,1,Small,0.008684619,0.030330121
> 10000,1,Big,0.037715191,0.077224313
> 1,100000,Small,2.645073332,11.991253469
> 100,1000,Small,0.10233313,0.426872283
> 10000,10,Small,0.078170475,0.296490437
> 1,100000,Big,5.623040966,44.909613556
> 100,1000,Big,0.4239214,1.309857283
> 10000,10,Big,0.381790274,0.765500787
>  {code}
>  
> New:
> {code:java}
> Count        Runs        Big/Small    Total write secs    Total read secs
> 10000        1        Small        0.0072546        0.030194991
> 10000        1        Big        0.03440565        0.072913845
> 1        100000        Small        2.562500111        11.847315748
> 100        1000        Small        0.106402492        0.409962211
> 10000        10        Small        0.076109698        0.289378503
> 1        100000        Big        5.566392901        43.606074983
> 100        1000        Big        0.39528024        1.203362874
> 10000        10        Big        0.356784052        0.72371213
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)