Performance
We pay close attention to HTML → PDF conversion performance, continuously optimizing both generation speed and system stability.
The following data is based on a standardized test environment and reflects the conversion efficiency across different document scales.
Test Environment
All tests were conducted in a Docker container environment:
- Memory: 8 GB
- CPU Cores: 8
- Operating System: Linux (x86_64)
- Mode: Production build (non-development)
- Test Tool: Chrome Network
All performance results are based on the average time of warm-start tests, calculated from three runs.
Unit: milliseconds (ms)
Performance Results
Pages | File | Avg Time (ms) | Notes |
---|---|---|---|
1 | HTML | 50 | Nearly instant |
10 | HTML | 60 | Similar to single page |
50 | HTML | 100 | Stable performance |
100 | HTML | 150 | Slight fluctuation |
1000 | HTML | 2000 | Acceptable for large files |
Performance Trend
Conversion time increases linearly with the number of pages, indicating stable performance in CPU usage, memory allocation, and rendering strategy.
- Small documents (1–50 pages): Average time below 100 ms, nearly instant conversion.
- Medium documents (100 pages): Around 150 ms, consistently stable.
- Large documents (1000 pages): Around 2 seconds, still performs efficiently.
The system maintains stable rendering and output performance
across different document sizes, suitable for most bulk export and dynamic PDF generation scenarios.