Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  perfpushinfo.py

  Sprache: Python
 

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


class PerfPushInfo:
    """Used to store, and pass information about the perf try pushes."""

    def __init__(
        self,
        base_revision=None,
        new_revision=None,
        lando_instance=None,
        base_lando_commit_id=None,
        new_lando_commit_id=None,
        framework=None,
    ):
        self.base_revision = base_revision
        self.new_revision = new_revision
        self.lando_instance = lando_instance
        self.base_lando_commit_id = base_lando_commit_id
        self.new_lando_commit_id = new_lando_commit_id
        self.framework = framework
        self.finished_run = False

    @property
    def base_revision(self):
        return self._base_revision

    @base_revision.setter
    def base_revision(self, base_revision):
        self._base_revision = base_revision

    @property
    def new_revision(self):
        return self._new_revision

    @new_revision.setter
    def new_revision(self, new_revision):
        self._new_revision = new_revision
        self.finished_run = True

    @property
    def lando_instance(self):
        return self._lando_instance

    @lando_instance.setter
    def lando_instance(self, lando_instance):
        self._lando_instance = lando_instance

    @property
    def base_lando_commit_id(self):
        return self._base_lando_commit_id

    @base_lando_commit_id.setter
    def base_lando_commit_id(self, base_lando_commit_id):
        self._base_lando_commit_id = base_lando_commit_id

    @property
    def new_lando_commit_id(self):
        return self._new_lando_commit_id

    @new_lando_commit_id.setter
    def new_lando_commit_id(self, new_lando_commit_id):
        self._new_lando_commit_id = new_lando_commit_id
        self.finished_run = True

    def get_perfcompare_settings(self):
        """Returns all the settings required to setup a perfcompare URL."""
        return (
            self.base_revision,
            self.new_revision,
            self.framework,
        )

    def get_perfcompare_settings_lando(self):
        """Returns all the settings required to setup a perfcompare URL using lando pushes."""
        return (
            self.lando_instance,
            self.base_lando_commit_id,
            self.new_lando_commit_id,
            self.framework,
        )

Messung V0.5 in Prozent
C=94 H=94 G=93

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002