Giter VIP home page Giter VIP logo

routesum-runner's Introduction

routesum-runner

routesum-runner - create CSVs of routesum performance data over multiple runs

Project Description

This is a quick-and-dirty program that will run a routesum binary against an input file multiple times with -show-mem-stats enabled and timing each run, collecting and outputting that data in CSV format. The data can then be pasted into a spreadsheet for analysis.

Usage

$ ./routesum-runner -h
Usage of ./routesum-runner:
  -input value
        Path to an input file. Can be specified multiple times. At least once is required.
  -num-runs int
        Number of times to run each input against each routesum binary (default 5)
  -routesum value
        Path to routesum binary. Can be specified multiple times. At least once is required.
  -time string
        Path to the time binary. (default "/usr/bin/time")

$ ./routesum-runner -input ~/routesum-performance/dshield-intelfeed-ips.txt -input ~/routesum-performance/GeoLite2-Country-Networks.txt -routesum ./routesum-bst -routesum ./routesum-radix -num-runs 10
Input,Metric,Binary,Amount
GeoLite2-ASN-Networks.txt,Num internal nodes,routesum-bst,4622053
GeoLite2-ASN-Networks.txt,Num leaf nodes,routesum-bst,4622055
GeoLite2-ASN-Networks.txt,Size of all internal nodes,routesum-bst,463039380
...
GeoLite2-ASN-Networks.txt,Num internal nodes,routesum-radix,622053
GeoLite2-ASN-Networks.txt,Num leaf nodes,routesum-radix,622055
GeoLite2-ASN-Networks.txt,Size of all internal nodes,routesum-radix,63039380
...
GeoLite2-Country-Networks.txt,Num internal nodes,routesum-bst,496323
GeoLite2-Country-Networks.txt,Num leaf nodes,routesum-bst,496325
GeoLite2-Country-Networks.txt,Size of all internal nodes,routesum-bst,412266326
...
GeoLite2-Country-Networks.txt,Num internal nodes,routesum-radix,96323
GeoLite2-Country-Networks.txt,Num leaf nodes,routesum-radix,96325
GeoLite2-Country-Networks.txt,Size of all internal nodes,routesum-radix,12266326
...

Reporting Bugs and Issues

Bugs and other issues can be reported by filing an issue on our GitHub issue tracker.

Copyright and License

This software is Copyright (c) 2021-2022 by Patrick Cronin.

This is free software, licensed under the terms of the MIT License.

routesum-runner's People

Contributors

patrickcronin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.