Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pyMKcam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
pyMKcam
Commits
53f9c310
Commit
53f9c310
authored
Jan 23, 2012
by
Paul Bonser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn off multiprocessing, allow local locating of files
parent
e3d8bccf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
locations.py
pycam/Utils/locations.py
+1
-1
profile_pycam.py
scripts/profile_pycam.py
+4
-0
No files found.
pycam/Utils/locations.py
View file @
53f9c310
...
...
@@ -33,7 +33,7 @@ DATA_BASE_DIRS = [os.path.realpath(os.path.join(os.path.dirname(__file__),
os
.
path
.
realpath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
pardir
,
os
.
pardir
,
"share"
,
"pycam"
)),
os
.
path
.
join
(
sys
.
prefix
,
"local"
,
"share"
,
"pycam"
),
os
.
path
.
join
(
sys
.
prefix
,
"share"
,
"pycam"
)]
os
.
path
.
join
(
sys
.
prefix
,
"share"
,
"pycam"
)
,
'.'
]
FONTS_SUBDIR
=
"fonts"
UI_SUBDIR
=
"ui"
...
...
scripts/profile_pycam.py
View file @
53f9c310
...
...
@@ -13,6 +13,10 @@ from pycam.Toolpath import Bounds
from
pycam.Toolpath.MotionGrid
import
get_fixed_grid
from
pycam.Utils.locations
import
get_data_file_location
# Disable multi processing
from
pycam.Utils
import
threading
threading
.
__multiprocessing
=
False
""" Profile PyCAM doing several operations, print out the top 10
(sorted by actual local runtime) methods.
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment