mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-20 21:15:59 +00:00
Add Waterfall Chart & Request Inspector
Features Added: - Interactive waterfall timeline visualization - Color-coded timing bars (DNS, Connect, SSL, TTFB, Download) - Request filtering by resource type (HTML, JS, CSS, Images, Fonts) - Detailed request inspector dialog with timing breakdown - HAR data extraction from Lighthouse results - Size/compression metrics display - Third-party resource identification - Render-blocking resource detection Technical Implementation: - Created lib/har-parser.js for network data extraction - Built waterfall.html with SVG-based timeline renderer - Added waterfall.js with interactive controls - Integrated HAR generation into test runner workflow - Updated main UI with View Waterfall link
This commit is contained in:
25
remote-debug.ps1
Normal file
25
remote-debug.ps1
Normal file
@@ -0,0 +1,25 @@
|
||||
$Server = "172.16.69.219"
|
||||
$User = "root"
|
||||
$Pass = "Q4dv!Z`$nCe#`$OT&h"
|
||||
|
||||
function Remote-Exec {
|
||||
param($Cmd)
|
||||
echo "Running: $Cmd"
|
||||
plink -batch -pw "$Pass" "$User@$Server" $Cmd
|
||||
}
|
||||
|
||||
echo "--- 1. Checking Disk Space ---"
|
||||
Remote-Exec "df -h"
|
||||
|
||||
echo "--- 2. Checking Node Version ---"
|
||||
Remote-Exec "node -v && npm -v"
|
||||
|
||||
echo "--- 3. Re-installing Dependencies (Verbose) ---"
|
||||
Remote-Exec "cd /var/www/web-page-performance-test && npm install --verbose"
|
||||
|
||||
echo "--- 4. Manual Server Start (Crash Test) ---"
|
||||
# Run for 5 seconds then kill, or catch crash output
|
||||
Remote-Exec "cd /var/www/web-page-performance-test && timeout 5s node server.js || echo 'Crash Detected'"
|
||||
|
||||
echo "--- 5. Service Status ---"
|
||||
Remote-Exec "systemctl status web-page-performance-test --no-pager"
|
||||
Reference in New Issue
Block a user