vprof/memory_profiler.py
def profile_package(self):
        """Returns memory stats for a package."""
        target_modules = base_profiler.get_pkg_module_names(self._run_object)
        try:
            with _CodeEventsTracker(target_modules) as prof:
                prof.compute_mem_overhead()
                runpy.run_path(self._run_object, run_name='__main__')
        except SystemExit:
            pass
        return prof, None
def profile_package(self):
        """Returns memory stats for a package."""
        target_modules = base_profiler.get_pkg_module_names(self._run_object)
        try:
            with _CodeEventsTracker(target_modules) as prof:
                prof.compute_mem_overhead()
                runpy.run_path(self._run_object, run_name='__main__')
        except SystemExit:
            pass
        return prof, None
def profile_package ( self ) : target_modules = base_profiler . get_pkg_module_names ( self . _run_object ) try : with _CodeEventsTracker ( target_modules ) as prof : prof . compute_mem_overhead ( ) runpy . run_path ( self . _run_object , run_name = '__main__' ) except SystemExit : pass return prof , None
Returns memory stats for a package.
Returns memory stats for a package .