Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8726

Create unit test to profile Syslogd's ConvertToEvent performance

    XMLWordPrintable

    Details

    • Sprint:
      Minion Sprint 2, Minion Sprint 4, Minion Sprint 6, Horizon - March 29th

      Description

      We need to create a more comprehensive test for the ConvertToEvent class so that we can accurately determine if the new method developed for OpenNMS 18 is faster. Here's what I would like to see in this test:

      • Create the test in a branch from 'master' so that it can be run against the OpenNMS 17 code.
      • Add a test syslog message file containing 200 - 1000 sample syslog messages.
      • Write the test so that it feeds the sample syslog messages into the ConvertToEvent method in a loop. Test the method thousands of times and calculate the mean time to process each message (preferably with nanosecond precision). It may also be useful to use a dropwizard-metrics histogram.
      • Merge the test forward into 'develop' and compare the performance of the latest code with the OpenNMS 17 code in 'master'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                seth Seth Leger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: