97 Commits
Author SHA1 Message Date
Justin Clark-Casey 343fa922a7 remove the oscc specific stuff from the batch command for now 2015-01-19 20:45:38 +00:00
Justin Clark-Casey ca5c98f92c Update README to show what is now printed by the script 2014-11-20 00:14:51 +00:00
Justin Clark-Casey 5f128eebb4 Split user count into hypergrid and direct login users 2014-11-19 23:56:22 +00:00
Justin Clark-Casey 3b15f64fcd Re-enable counting of direct login lines which was disabled in previous commit.
This gives a slightly higher number on my test log which is unexpected.  Need to investigate.
2014-11-19 23:50:17 +00:00
Justin Clark-Casey f5db2ce183 Also detect gatekeeper logins to count hypergrid users 2014-11-19 23:49:02 +00:00
Justin Clark-Casey b85496c9fa Actually detect logins by the last successful line containing agent name, to weed out requests where the login did not succeed (region not available, pw wrong, etc.) 2014-11-19 23:34:27 +00:00
Justin Clark-Casey c7b8062c41 Make login request regex yet more specific 2014-11-19 23:32:52 +00:00
Justin Clark-Casey 2405d1fc66 Print the log file names that we're parsing. 2014-11-19 23:29:57 +00:00
Justin Clark-Casey 633649bb64 Print out tally of user logins and count and total unique logins by name. Don't currently print each login time. 2014-11-19 23:28:38 +00:00
Justin Clark-Casey df2a3bf2d5 Put README in markdown and add some more notes 2014-11-19 23:13:35 +00:00
Justin Clark-Casey 37084dec6a Add false positives by making login request regex a bit more specific 2014-11-19 23:11:41 +00:00
Justin Clark-Casey 08bc5482ed Convert ola.py to my now preferred (and more standard) 4 space indenting 2014-11-19 23:09:25 +00:00
Justin Clark-Casey 8148661530 Add simple texture load test code. 2014-11-07 20:16:25 +00:00
Justin Clark-Casey 448e995ade minor udpate to stdgraphs.json example to make separate frametime graphs for each keynote region/ 2014-10-02 22:44:59 +01:00
Justin Clark-Casey 2c9ee8d67f Make ostgraph create an outdir if specified and it does not already exist. 2014-09-18 20:57:15 +01:00
Justin Clark-Casey 430998486d Add missing reference to stats analysis readme 2014-09-03 22:44:02 +01:00
Justin Clark-Casey 8e5e5e050c Add stdgraphs.json, which is the set of batch commands I currently use to generate a standard set of graphs from stats logs for the OSCC 2014 load tests.
Also improves README to at least give some hint to show how to use this.
2014-09-03 20:52:46 +01:00
Justin Clark-Casey e1e4d30cc1 Make the sets attribute for input batch json actually select a set
If there is no sets attribute we default to selecting all data sets
2014-09-03 20:18:26 +01:00
Justin Clark-Casey 8869355b69 Make set names the non-extension part of the filename, not the full name 2014-09-03 20:04:29 +01:00
Justin Clark-Casey 2678ecb80c Fix action to properly show if no out attribute is defined in batch input json 2014-09-03 20:00:26 +01:00
Justin Clark-Casey d165be9ed0 Clear figure between graph generations 2014-09-03 19:57:40 +01:00
Justin Clark-Casey f5dd20760e Implement --batch and --outdir switches to ostagraph.py that can produce multiple graphs from one sim stats load using instructions in a file
Loading the stats corpus takes quite some time, and this gets worse the more graphs we want to introduce.
Better to load just once and then produce multiple graphs from the same corpus.
Json file format will be detailed once this implementation is complete.
Currently can't control which log (set) a particular stat is graphed from, but this capability will come shortly.
2014-09-03 19:28:20 +01:00
Justin Clark-Casey 98b72deb5d Introduce a set concept into the OSimStatsCorpus so that logs are loaded as different sets instead of simply merged together.
Currently not used by calling code.
2014-09-03 17:24:40 +01:00
Justin Clark-Casey c825ade132 minor: Change OSimStatsCorpuse.parse() to more appropriate .load() 2014-09-03 17:07:39 +01:00
Justin Clark-Casey bad17d465c fix minor bug in report error if no stat selected in ostasum.py 2014-08-19 00:39:38 +01:00
Justin Clark-Casey 0d60f9df95 Remove debug line accidentally left in from previous commit. 2014-08-01 00:12:03 +01:00
Justin Clark-Casey 20b2a0cc83 Fix parsing of stat full names with container containing periods (which is currently allowed). 2014-08-01 00:11:03 +01:00
Justin Clark-Casey c3aa6d8082 minor: put method doc inside the methods python-style, not outside like c#/java style 2014-07-24 23:46:41 +01:00
Justin Clark-Casey ce7cfc9687 Make --select a required argument, though argparse still reports this as an optional arg in help 2014-07-22 17:22:09 +01:00
Justin Clark-Casey cc4e7a3b4c Require at least one stats file in ostasum.py 2014-07-22 17:10:10 +01:00
Justin Clark-Casey 9a334c23f8 forgot one index of using 1-index instead of 0 2014-07-17 21:50:28 +01:00
Justin Clark-Casey b074dc1d24 use zero index for arbitrary first stat in OSimSatsHelper.sumStats() 2014-07-17 21:48:39 +01:00
Justin Clark-Casey 732ccba4fe make y label unit type 2014-07-17 21:33:01 +01:00
Justin Clark-Casey 41f1044d22 add --type='delta' option in ostagraph.py to graph delta values rather than abs 2014-07-17 21:31:12 +01:00
Justin Clark-Casey 78d122d53c implement --action=sum for ostasum.py 2014-07-17 21:15:58 +01:00
Justin Clark-Casey f41626bb53 refactor: make osatsum.py use corpus.getStats() rather than filtering the by stat name itself
This commit also allows ostasum.py to load more than one stats log and taken an --action=sum, though this is not yet implemented
2014-07-17 20:48:46 +01:00
Justin Clark-Casey cb60558fdd factor out sum action code into function for ostagraph.py 2014-07-17 20:36:52 +01:00
Justin Clark-Casey 20e8d19d70 Implement --action=sum option that will sum selected stats 2014-07-17 20:27:58 +01:00
Justin Clark-Casey eb9beb093e Add incompletely readme for opensim-sats-analyzer 2014-07-17 20:07:34 +01:00
Justin Clark-Casey de660fc06b Add legend to generated graph with container name (unfortunately this will not always be corrected)
Also order dictionaries
2014-07-17 20:04:32 +01:00
Justin Clark-Casey 1783cb60c7 minor: simplify analysis readme line 2014-07-17 01:23:10 +01:00
Justin Clark-Casey 3db4f63caa minor: add method doc to OSimStatsCorpus.clear() 2014-07-17 00:46:06 +01:00
Justin Clark-Casey fc6159322a On second thoughts, make parse always merge with existing data
Add separate clear() instead if this is required.
2014-07-17 00:45:18 +01:00
Justin Clark-Casey 4e3c20f101 directly change data and sample counts on reparsing, so that implementing merge parse is a bit easier 2014-07-17 00:42:22 +01:00
Justin Clark-Casey 3f56fca4ec add len parameter to OSimStatsCorpus to return number of samples 2014-07-17 00:38:06 +01:00
Justin Clark-Casey b9139b4637 refactor: rename Osta class to OSimStatsCorpus to make a bit more sense 2014-07-17 00:25:12 +01:00
Justin Clark-Casey fedff2e76d Make x axis label samples for now, though eventually should have a date option 2014-07-17 00:21:09 +01:00
Justin Clark-Casey 99dc3d534c Make graph title full name and y axis stat name 2014-07-17 00:20:34 +01:00
Justin Clark-Casey 2a73a841a9 refactor: move code to get a stat given its full name into osta class 2014-07-17 00:04:32 +01:00
Justin Clark-Casey 6c5878989e Move data fetch from Osta to separate method because we want to try and avoid doing this where possible 2014-07-16 23:59:32 +01:00