(content, cssProperties)
| 1019 | } |
| 1020 | |
| 1021 | analyzePerformance(content, cssProperties) { |
| 1022 | const properties = JSON.parse(cssProperties); |
| 1023 | |
| 1024 | return { |
| 1025 | gpu_accelerated: this.checkGPUAcceleration(properties), |
| 1026 | paint_complexity: this.analyzePaintComplexity(properties), |
| 1027 | layout_triggers: this.checkLayoutTriggers(properties), |
| 1028 | memory_impact: this.analyzeMemoryImpact(properties), |
| 1029 | optimization_tips: JSON.stringify(this.generateOptimizationTips(properties)) |
| 1030 | }; |
| 1031 | } |
| 1032 | |
| 1033 | checkGPUAcceleration(properties) { |
| 1034 | return properties.some(p => |
nothing calls this directly
no test coverage detected