MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
286 stars 100 forks source link

Compare average processing time for validator between 5.0 and 6.0 #1876

Open emmambd opened 2 weeks ago

emmambd commented 2 weeks ago

Describe the problem

In order to be confident that the new column additions to stop_times.txt with Flex are not having a significant impact on the validator's performance, we want to compare the average runtime for the validation between 5.0 and 6.0.

Proposed solution

Include analytics about how long run time was in 5.0 vs. 6.0 for each feed.

Alternatives you've considered

No response

Additional context

No response

davidgamez commented 1 week ago

Method

How the running time was extracted:

Results

Time performance metrics

Metric 5.0.1 Master Difference
Average 3.93 4.09 0.16
Median 1.38 1.47 0.09
Std Dev 11.07 11.44 0.37
Min feed_id: us-florida-citrus-county-transit-gtfs-630, time: 0.52 feed_id: us-california-flex-v2-developer-test-feed-1-gtfs-1817, time: 0.55 0.03
Max feed_id: gb-unknown-uk-aggregate-feed-gtfs-2014, time: 289.51 feed_id: gb-unknown-uk-aggregate-feed-gtfs-2014, time: 290.63 1.12

** All values are expressed in seconds

There is a minor increase in the metrics but not a significant increase.

Feeds with the most significant increase

The following chart lists the most significant changes in time; to reduce noise, it filters out all the changes in less than 5 seconds. Image

Only sixfour feeds differed by more than 5 seconds,and one of them reduced time.