docs: Analyse und Refactoring-Vorschlag zur Entkopplung des Benchmarks#83
Open
Easton97-Jens wants to merge 1 commit intov3/master-json2from
Open
docs: Analyse und Refactoring-Vorschlag zur Entkopplung des Benchmarks#83Easton97-Jens wants to merge 1 commit intov3/master-json2from
Easton97-Jens wants to merge 1 commit intov3/master-json2from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
test/benchmark/benchmark.ccaktuell an eine feste Testumgebung (insbesonderebasic_rules.confund ein statisches Transaction-Scenario) gekoppelt ist.Description
docs/benchmark-decoupling-analysis.de.mdergänzt die Repository-Dokumentation um eine vollständige Ist-Analyse, eine Liste harter Kopplungspunkte, Unsicherheiten und einen konkreten Refaktorisierungsvorschlag.BenchmarkCase-Datenmodell, einOptions-Parsing (--rules,--suite,--case,--iterations) und die Extraktion der Ausführungslogik in eine FunktionrunTransactionCase(...)zur Laufzeit-Injektion von Testdaten.Testing
sed -n '1,260p' test/benchmark/benchmark.cc,nl -ba test/benchmark/json_benchmark.cc | sed -n '300,560p'undnl -ba test/benchmark/Makefile.am | sed -n '1,120p', und diese Prüfungen lieferten die erwarteten Inhalte.docs/benchmark-decoupling-analysis.de.mdwurde erzeugt und ihr Inhalt geprüft (Datei present and readable).Codex Task