Performance: FOP Worker Pool für 5-10x schnellere PDF-Generierung
Implementiert persistente JVM-Prozesse für Apache FOP analog zum bestehenden SaxonWorkerPool-System. Eliminiert JVM-Startup-Overhead durch Wiederverwendung von Worker-Prozessen. Änderungen: - Neues Modul fop_pool.py mit FopWorkerPool und Java Worker-Klasse - Integration in transform.py mit automatischem Fallback auf subprocess - GUI-Einstellungen für FOP Worker Pool (aktivieren/deaktivieren) - Automatische Neuinitialisierung bei Einstellungsänderungen - Konfiguration: use_fop_worker_pool in AppSettings (Standard: aktiviert) Performance: 5-10x schnellere PDF-Generierung bei vielen kleinen PDFs durch Wiederverwendung von FopFactory und Font-Caches. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -144,6 +144,7 @@ class AppSettings(BaseSettings):
|
||||
theme: str | None = None
|
||||
max_workers: int = 8 # Anzahl paralleler Worker für Transformationen (Standard: 8)
|
||||
use_saxon_worker_pool: bool = True # SaxonWorkerPool aktivieren (schneller, benötigt JDK)
|
||||
use_fop_worker_pool: bool = True # FopWorkerPool aktivieren (schneller, benötigt JDK)
|
||||
|
||||
# UI-Zustand
|
||||
window_geometry: tuple[int, int, int, int] | None = None # (x, y, width, height)
|
||||
|
||||
Reference in New Issue
Block a user