         let count = 500
 
         history.clearHistory().value
-        populateHistoryForFrecencyCalcuations(history, siteCount: count)
+        populateHistoryForFrecencyCalculations(history, siteCount: count)
 
         self.measureMetrics([XCTPerformanceMetric_WallClockTime], automaticallyStartMeasuring: true) {
             for _ in 0...5 {

@testable import Storage

import XCTest

func advanceTimestamp(timestamp: Timestamp, by: Int) -> Timestamp {
    return timestamp + UInt64(by)

        let count = 500

        history.clearHistory().value
        populateHistoryForFrecencyCalculations(history, siteCount: count)

        history.setTopSitesNeedsInvalidation()
        self.measureMetrics([XCTPerformanceMetric_WallClockTime], automaticallyStartMeasuring: true) {
