Coder Social home page Coder Social logo

weewx-benchmark's Introduction

Benchmark of file and image generation

Benchmark protocol

This is a benchmark designed to test how fast WeeWX generates the files and images of the Seasons skin, using one year of data.

  1. Download and unpack the benchmark:

    cd /var/tmp
    wget -O weewx-benchmark-master.tar.gz https://github.com/weewx/weewx-benchmark/archive/master.tar.gz
    tar xvf weewx-benchmark-master.tar.gz
  2. This benchmark will work as is for Version 5.0.0b13 or later. However, for earlier versions you must make two modifications in the configuration file weewx.conf:

    • Set WEEWX_ROOT to the location of the benchmark:

      WEEWX_ROOT=/var/tmp/weewx-benchmark-master
      
    • Set SQLITE_ROOT to the location of the archive directory:

      SQLITE_ROOT=/var/tmp/weewx-benchmark-master/archive
      
  3. Because this test is of how long it takes to create and populate the subdirectory weewx-benchmark-master/public_html, it must be empty before you start.

    rm -r weewx-benchmark-master/public_html
  4. If you are on a laptop, plug it in!

  5. Run the benchmark. For Version 5, use weectl report. For Version 4, use wee_reports

    weectl report run --config weewx-benchmark-master/weewx.conf
  6. The benchmark will print the generation time for the files and images to standard output. Make sure there are 21 files and 68 images. If not, there may have been something in weewx-benchmark-master/public_html. Go back and do step 3 again.

  7. Add your results to the wiki page Benchmarks of file and image generation

weewx-benchmark's People

Contributors

tkeffer avatar

Watchers

 avatar Matthew Wall 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.