Adapted the speed meassurement script
This commit is contained in:
parent
087ef2bbb0
commit
17aafd88a0
|
|
@ -4,6 +4,7 @@ source =
|
||||||
src
|
src
|
||||||
omit = */kibot/docopt.py
|
omit = */kibot/docopt.py
|
||||||
*/kibot/mcpy/*
|
*/kibot/mcpy/*
|
||||||
|
*/kibot/mcpyrate/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
time perl test.pl
|
time perl test.pl
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
for ($i=0; $i<100; $i++)
|
for ($i=0; $i<100; $i++)
|
||||||
{
|
{
|
||||||
system("src/kiplot -b tests/board_samples/good-project.kicad_pcb -c tests/yaml_samples/simple_position_csv.kiplot.yaml -d pp");
|
system("../../src/kiplot -b ../../tests/board_samples/kicad_5/good-project.kicad_pcb -c ../../tests/yaml_samples/simple_position_csv.kibot.yaml -d pp");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class BoMColumns(Optionable):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._unkown_is_error = True
|
self._unkown_is_error = True
|
||||||
with step_expansion:
|
# with step_expansion:
|
||||||
with document:
|
with document:
|
||||||
self.field = ''
|
self.field = ''
|
||||||
""" Name of the field to use for this column """
|
""" Name of the field to use for this column """
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue