public long getTimeSpentResizingNs() {
        if (!enablePerfMetrics) {
            throw new IllegalStateException();
        }
        return timeSpentResizingNs;
    }
Returns the total amount of time spent resizing this map (in nanoseconds).
indexr-query-opt/src/main/java/org/apache/spark/unsafe/map/BytesToBytesMap.java