Mercurial > hgsubversion
view tests/test_binaryfiles.py @ 1250:05aea77371a3
util: add a decorator to disable Python's garbage collector
Python's GC can cause serious performance regressions if lots of small objects
are created within a function. We've empirically found that that happens while
loading the revmap.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sun, 02 Nov 2014 01:55:18 -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']))