view tests/test_binaryfiles.py @ 1253:c54214bb6c4e

maps: avoid O(n) property lookups on the node module The particular improvement we're interested in here is with loading the revmap. Loading a million-entry revmap goes from 3.82 seconds to 3.72.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 02 Nov 2014 01:27:38 -0800
parents da2c835cd6b8
children
line wrap: on
line source

import test_util

import unittest

class TestFetchBinaryFiles(test_util.TestBase):
    stupid_mode_tests = True

    def test_binaryfiles(self):
        repo = self._load_fixture_and_fetch('binaryfiles.svndump')
        self.assertEqual('cce7fe400d8d', str(repo['tip']))