flatcam/tests/gerber_parsing_profiling/gerber_parsing_line_profile_1.py
Marius Stanciu a6b89dbf3a - moved back the ApertureMacro class to camlib for now and made some import changes in the new ParseGerber and ParseExcellon classes
- some changes to the tests - perhaps I will try adding a few tests in the future
2019-10-06 15:56:41 +03:00

13 lines
305 B
Python

# This script is for profiling Gerber.parse_lines() line by line.
# Run kernprof -l -v gerber_parsing_line_profile_1.py
import sys
sys.path.append('../../')
from flatcamParsers.ParseGerber import *
log = logging.getLogger('base2')
log.setLevel(logging.WARNING)
g = Gerber()
g.parse_file("gerber1.gbr")