def testGapBetweenObjects(self):
    # Adding a gap affects throughput with overheads, but not without.
    with_gap = pd.DataFrame({'start_time': [0, 3],
                             'duration': [1, 1],
                             'size': [2, 2],
                             'stream_num': [0, 0]})
    self.doTest(with_gap, 1,
                {'net throughput': 2.0 * self.byte / self.sec,
                 'net throughput (with gap)': 1.0 * self.byte / self.sec})
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/tests/object_storage_multistream_analysis_test.py/TestThroughputStats.testGapBetweenObjects/original