Perfestimate

Perfomance estimate is, in summary, a single number that reflects the efficiency of Project 1. The estimate is calculated as a weighted average of efficiency measurements for mandatory functions. The unit of efficiency measurement is ”command count,” meaning the command counter, with a value read as N, is set to 100,000. The smaller the command counter value, the more efficient is the function.

The weights for functions are listed below:

Function Weight
affiliation_info 10
get_all_affiliations 1
get_affiliations_alphabetically 5
get_affiliations_distance_increasing 5
find_affiliation_with_coord 10
change_affiliation_coord 10
get_publications_after 10
publication_info 100
get_referenced_by_chain 10

A+ esittää tässä kohdassa tehtävän palautuslomakkeen.