Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MeanFi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quantum Tinkerer
MeanFi
Commits
f624b2c3
Commit
f624b2c3
authored
2 months ago
by
Johanna Zijderveld
Browse files
Options
Downloads
Patches
Plain Diff
change profiler tasks and add feature dependencies
parent
9126ceec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!24
Pixi
Pipeline
#197819
failed
2 months ago
Stage: test
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-4
1 addition, 4 deletions
.gitlab-ci.yml
pixi.lock
+2670
-65
2670 additions, 65 deletions
pixi.lock
pyproject.toml
+19
-0
19 additions, 0 deletions
pyproject.toml
with
2690 additions
and
69 deletions
.gitlab-ci.yml
+
1
−
4
View file @
f624b2c3
...
...
@@ -36,10 +36,7 @@ run coverage:
run profiler
:
script
:
-
pip install memray pyinstrument
-
python profiling/graphene.py
-
memray stats memoryProfile.bin
-
memray summary memoryProfile.bin
-
pixi run profiler
artifacts
:
paths
:
-
timeProfile.html
...
...
This diff is collapsed.
Click to expand it.
pixi.lock
+
2670
−
65
View file @
f624b2c3
This diff is collapsed.
Click to expand it.
pyproject.toml
+
19
−
0
View file @
f624b2c3
...
...
@@ -87,6 +87,11 @@ pytest-regressions = "*"
pytest-repeat
=
">
=
0.9
.
3
,
<
0.10
"
# pytest-ruff is not on conda
[tool.pixi.feature.docs.dependencies]
sphinx-togglebutton
=
"*"
sphinx-copybutton
=
"*"
make
=
"*"
[tool.pixi.feature.minimal.dependencies]
python
=
"~
=
3.10
"
numpy
=
"~
=
1.25
.
0
"
...
...
@@ -105,6 +110,16 @@ numpy = ">=1.26"
scipy
=
">
=
1.13
"
sympy
=
">
=
1.4
"
[tool.pixi.feature.publish.dependencies]
hatch
=
">
=
1.7
.
0
,
<
1.13
"
hatch-vcs
=
">
=
0.4
.
0
,
<
0.5
"
[tool.pixi.feature.profiler.dependencies]
pyinstrument
=
"*"
[tool.pixi.feature.profiler.pypi-dependencies]
memray
=
"*"
[tool.pixi.pypi-dependencies]
skunk
=
{
git
=
"https://github.com/akhmerov/skunk.git"
}
pytest-ruff
=
">
=
0.4
.
1
,
<
0.5
"
...
...
@@ -123,6 +138,7 @@ meanfi = { path = ".", editable = true }
[tool.pixi.environments]
default
=
{
solve-group
=
"default"
}
docs
=
{
features
=
[
"docs"
],
solve-group
=
"mid"
}
profiler
=
{
features
=
[
"profiler"
],
solve-group
=
"mid"
}
minimal
=
{
features
=
[
"minimal"
,
"test"
],
solve-group
=
"minimal"
}
mid
=
{
features
=
[
"mid"
,
"test"
],
solve-group
=
"mid"
}
latest
=
{
features
=
[
"latest"
,
"test"
],
solve-group
=
"default"
}
...
...
@@ -143,6 +159,9 @@ tests-all = { depends-on = ["tests-minimal", "tests-mid", "tests-latest"] }
[tool.pixi.feature.docs.tasks]
docs-build
=
"python -c
\"
from matplotlib import pyplot
\"
&& make -C docs/ html SPHINXOPTS=
\"
-WT --keep-going -n
\"
"
[tool.pixi.feature.profiler.tasks]
profiler
=
"python profiling/graphene.py
\"
&& memray stats memoryProfile.bin
\"
&& memray summary memoryProfile.bin
\"
"
[tool.pixi.feature.precommit.tasks]
git
=
"git"
pre-commit
=
"pre-commit"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment