Git Product home page Git Product logo

Comments (9)

wmwolf avatar wmwolf commented on September 18, 2024 1

Running a little test in the database console, I get 1.13e5 cpu hours for cannon over its lifetime, so it looks like this should work and this won't require much retooling to get on the testhub.

from mesatesthub.

evbauer avatar evbauer commented on September 18, 2024

Cannon usage over the last 6 months.

iTerm2 p02IGt CPUhrs

from mesatesthub.

wmwolf avatar wmwolf commented on September 18, 2024

Are we just interested in the inner product of threads and runtime? That should be quite easy to throw on the computer view. It won't capture compile time, but I assume that's a perturbation. How about core hours for the following time spans:

  • last 24 hours
  • last 365 days
  • lifetime

from mesatesthub.

wmwolf avatar wmwolf commented on September 18, 2024

I think I have a working implementation. It is expensive and slow for very prolific submitters like helios and cannon, since it must load all test instances from the database and computer the inner product in series. Obviously, this won't scale well, so in the future, I'd like to keep a running total handy directly in the database updated once a day or with every instance submission.

For now, here's an example for lux. See the data on the right side of the view. Can someone let me know if this is what we're looking for?

from mesatesthub.

fxt44 avatar fxt44 commented on September 18, 2024

this will be useful for me later this year. two clarifications please. does "Last year" mean the past 365 days of today? what is the start date for "Since Inception" - since github day or when the machine first submitted a result?

from mesatesthub.

wmwolf avatar wmwolf commented on September 18, 2024

Last year means since this time on this calendar date a year ago, and since inception means since this computer stated testing git commits. This does not include svn-era data. That database is archived on a computer in Eau Claire, but not particularly easy to access.

from mesatesthub.

fxt44 avatar fxt44 commented on September 18, 2024

thanks. might be useful to add the date of "since inception", or the elapsed number of years "since inception". one could then get the average load per year and compare that to the "last year" to get a sense of the distribution.

from mesatesthub.

wmwolf avatar wmwolf commented on September 18, 2024

Sounds good. I'm first finding a more database-dependent way to compute these values... This first attempt is crushing the server.

from mesatesthub.

wmwolf avatar wmwolf commented on September 18, 2024

This took longer than expected, but every test instance with a nonzero number of threads and a nonzero runtime now knows its cpu usage, and the computer summary pages show the indicated data, and the inception date for each computer is clearly indicated.

from mesatesthub.

Related Issues (20)

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.