Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5524

[Python-de] Flaschenhals erkennen

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Güttler <guettliml@thomas-guettler.de>
Newsgroups de.comp.lang.python
Subject [Python-de] Flaschenhals erkennen
Date Fri, 23 Aug 2019 11:18:26 +0200
Lines 26
Message-ID <mailman.18.1566552289.30344.python-de@python.org> (permalink)
References <b08dbdeb-1862-ed68-07f4-d4d74eb8812e@thomas-guettler.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de qgq9jBbhI1eWySnZxceRFQwJz9KSmVdqyq6SDLMoGeow==
Return-Path <guettliml@thomas-guettler.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
Content-Language de-DE
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <b08dbdeb-1862-ed68-07f4-d4d74eb8812e@thomas-guettler.de>
Xref csiph.com de.comp.lang.python:5524

Show key headers only | View raw


Hallo,

wir haben Code mit recht 2000 Tests.
Die Ausführung der Tests dauert eine halbe Stunde,
und es wäre schön, wenn das schneller gehen würde.

Vor kurzem wurde durch Zufall erkannt, dass ständig ein Test-User
erstellt wird und dabei bcrypt verwendet wird.

Diese eine Stelle wurde optimiert, und es wurden 5 Minuten Zeit gespart.

Super .... aber ich will solche Erkenntnisse ungern dem Zufall überlassen.

Ich suche nun ein Tool, mit dem man erkennen kann, ob es noch weitere
Flaschenhälse/Bottlenecks im Code gibt.

Wie würdet ihr nun vorgehen?

Gruß,
   Thomas



-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

[Python-de] Flaschenhals erkennen Thomas Güttler <guettliml@thomas-guettler.de> - 2019-08-23 11:18 +0200

csiph-web