Skip to content
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

Show track size metrics when listing tracks #291

Closed
danielmitterdorfer opened this issue Jun 29, 2017 · 1 comment
Closed

Show track size metrics when listing tracks #291

danielmitterdorfer opened this issue Jun 29, 2017 · 1 comment
Labels
enhancement Improves the status quo :Usability Makes Rally easier to use
Milestone

Comments

@danielmitterdorfer
Copy link
Member

danielmitterdorfer commented Jun 29, 2017

As requested in elastic/rally-tracks#29, we should calculate the number of documents and the size of the track files for each track and show it when listing tracks. Example:

daniel@io:~ $ esrally list tracks

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

[INFO] Writing logs to /Users/daniel/.rally/logs/rally_out_20170629T081838Z.log
Available tracks:

   Name        Description                                                                   Documents  Compressed Size    Uncompressed Size    Default Challenge        All Challenges
   ----------  --------------------------------------------------------------------------  -----------  -----------------  -------------------  -----------------------  --------------------------
   geonames    Standard track in Rally (11.4M POIs from Geonames)                             11396505  252.4 MB           3.3 GB               append-no-conflicts      append-no-conflicts,app...
   geopoint    60.8M POIs from PlanetOSM                                                      60844404  481.9 MB           2.3 GB               append-no-conflicts      append-no-conflicts,app...
   logging     Logging benchmark                                                             247249096  1.2 GB             31.1 GB              append-no-conflicts      append-no-conflicts,app...
   nested      Nested query benchmark using up to 11,203,029 questions from StackOverflow     11203029  663.1 MB           3.4 GB               nested-search-challenge  nested-search-challenge...
   nyc_taxis   Trip records completed in yellow and green taxis in New York in 2015          165346692  4.5 GB             74.3 GB              append-no-conflicts      append-no-conflicts,app...
   percolator  Percolator benchmark based on 2M AOL queries                                    2000000  102.7 kB           104.9 MB             append-no-conflicts      append-no-conflicts,app...
   pmc         Full text benchmark containing 574.199 papers from PMC                           574199  5.5 GB             21.7 GB              append-no-conflicts      append-no-conflicts,app...

-------------------------------
[INFO] SUCCESS (took 2 seconds)
-------------------------------
@danielmitterdorfer danielmitterdorfer added :Usability Makes Rally easier to use enhancement Improves the status quo labels Jun 29, 2017
@danielmitterdorfer danielmitterdorfer added this to the 0.6.1 milestone Jun 29, 2017
@danielmitterdorfer
Copy link
Member Author

We've amended the output to show also compressed and uncompressed size of the track.

@danielmitterdorfer danielmitterdorfer changed the title Show number of documents when listing tracks Show track size metrics when listing tracks Jul 4, 2017
danielmitterdorfer added a commit that referenced this issue Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Usability Makes Rally easier to use
Projects
None yet
Development

No branches or pull requests

1 participant