Comments (9)
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.
Cannon usage over the last 6 months.
from mesatesthub.
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.
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.
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.
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.
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.
Sounds good. I'm first finding a more database-dependent way to compute these values... This first attempt is crushing the server.
from mesatesthub.
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)
- Indicate computers with partial test suite runs HOT 4
- Restore Morning Email HOT 3
- Searching for Commits HOT 1
- Bring test case – commit view up to date with the test case history view HOT 1
- Branch Searching in Branch Dropdowns
- Display Compilation Status for each Commit in the Commits View HOT 2
- Allow Walking the Actual Git Tree HOT 1
- Reject Test Instance Submissions with "bad" YAML
- Do something with submitted `MESA_RUN_OPTIONAL` data in submissions HOT 2
- Add open issue count to morning email HOT 1
- Branch filter does not correctly apply on commit history page HOT 2
- more fine tuning of web interface HOT 2
- Indicate when optional inlists are run outside of test case commit view HOT 1
- Some tests with multiple inlists don't display individual parts HOT 1
- Incorrect coloring of mixed commit status HOT 2
- Multi-inlist test cases don't consistently show up in test case commit view HOT 1
- Add exit_code failure type HOT 4
- Search by commit hash HOT 1
- Failure to display TestHub extra quantities in multipart cases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesatesthub.