Skip to content

Commit

Permalink
WCM-185: remove linesman, if we need benchmarks use pyinstrument like…
Browse files Browse the repository at this point in the history
… zeit.web does
  • Loading branch information
stollero committed Sep 25, 2024
1 parent 01fad1b commit 8a77824
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ test = [
"opentelemetry-sdk",
"packaging",
"plone.testing[zca,zodb]",
"pygraphviz", # to render linesman results
"pytest",
"pytest-cov",
"pytest-remove-stale-bytecode",
Expand Down Expand Up @@ -191,7 +190,6 @@ deploy = [
"gunicorn",
"gunicorn_environmentconfig",
"gunicorn_worker_healthcheck",
"linesman",
"opentelemetry-exporter-otlp",
"opentelemetry-sdk",
"opentelemetry-sdk-extension-prometheus-multiprocess",
Expand All @@ -209,9 +207,6 @@ zon = [
"zope.app.locking==3.5.0+py3.1",
"zope.xmlpickle==4.0.0+py3k1", # https://github.com/ZeitOnline/zope.xmlpickle/tree/py3
]
deploy-zon = [
"linesman==0.3.2+py3.4",
]
test-zon = [
"gocept.jasmine==0.7+py3.2",
]
Expand Down
4 changes: 0 additions & 4 deletions core/src/zeit/cms/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ def __call__(self, global_conf=None, **local_conf):
('dbfanstatic', 'call:zeit.cms.application:clear_fanstatic'),
('debugger', 'call:zeit.cms.application:werkzeug_debugger'),
] + pipeline
if settings.get('use_linesman'):
pipeline = [
('linesman', 'call:linesman.middleware:profiler_filter_app_factory'),
] + pipeline
app = zeit.cms.wsgi.wsgi_pipeline(app, pipeline, settings)
app = OpenTelemetryMiddleware(
app,
Expand Down

0 comments on commit 8a77824

Please sign in to comment.