Here is a rough and ready BridgePal Log analyser which can scan a set of uploaded BridgePal logs and report response times for a particular session. For information on how to upload logs from BridgePal see the topic
http://mirgo2.co.uk/bridgepal_forum/index.php?topic=5.0.
The analyser summarises the number of requests in the session, average response times, and number of requests with response times falling into the following ranges – less than one second, between one and two seconds, between 2 and 3, between 3 and 4, between 4, and 5, between 5 and 10, and greater than 10 seconds.
It also shows the summarised response time statistics for each individual BridgePal. Thus you can identify which units performed under par in a particular session. There is a “Save Results...” menu option (under the File menu at the top left of the results window), which saves the displayed output to a file of your choice.
The application is in the attached zip file and is written in java. You must have previously installed a java runtime on your system in order to run it (if you don’t have java installed visit java.com). The zip file contains a single directory. Extract that directory to a location on your C drive. Open the directory and double click on BridgePalLogAnalyser.jar to start the application. The application will bring up a calendar and a time ‘spinner’ requesting you to enter the start date/time of the session (you can enter a time earlier than the actual start of the session but the aim is to exclude processing of any earlier sessions). Click on the OK button when you have set the date/time. Note: The time spinner is a bit fiddly to set. You can double click on one of the components (hours, minutes, seconds) to select it and then use the adjacent up and down arrows to change it. If you double click on the up or down arrow and hold it down, the spinner will cycle through the numbers automatically until you release the mouse button.
The application will now ask you to enter the date/time of the end of the session (you can set it to a later date/time as long as it is earlier than any subsequent sessions). Again, click OK when this has been done.
Finally, the application will bring up a file dialog box so that you can navigate to the directory in which you have uploaded all the BridgePal log files. The directory can contain other files – the application just processes files with names starting with “ID-“ and having a .txt extension. In the file dialog box just do a single click on the directory name to select it and then click on the “Open” button (double clicking on the directory name will just open the directory to display the files inside).
The application will then process the files and display the above information.
Caveats:
- The date/times must have been set up correctly on the BridgePal units so that the log files contain accurate date and timestamps.
- The percentages shown are rounded down to the nearest integer – for example if 5 requests out of 1000 took between 1 and 2 seconds this will display as 0%
- For the same reason, the sum of all percentages shown may be less than 100
- The application will not currently accurately detect response times longer than 5 seconds. This is because an auto-retry occurs after 5 seconds. Thus a response time of 7 seconds would actually be detected as two requests – one with a five second response time and one with a 2 second response time. However, a 12 second response time would also appear to the application to be two requests (5 seconds and 7 seconds) because there is only a single auto-retry.
John