Move Performance files to web/performance/

Move 60 performance-related files from webcore/ to web/performance/.
Includes Performance API, PerformanceObserver, Timing, Marks, Measures,
ResourceTiming, ServerTiming, and NetworkLoadMetrics.

Added JSDOMWrapperCache.h include to JSPerformanceEntryCustom.cpp.
Updated cmake/Sources.json and cmake/targets/BuildBun.cmake.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Bot
2025-12-30 06:03:34 +00:00
parent 5a33924475
commit 52407bca9c
62 changed files with 3 additions and 0 deletions

View File

@@ -85,6 +85,7 @@
"src/buntime/web/compression/*.cpp",
"src/buntime/web/events/*.cpp",
"src/buntime/web/streams/*.cpp",
"src/buntime/web/performance/*.cpp",
"src/bake/*.cpp",
"src/deps/*.cpp",
"src/vm/*.cpp",

View File

@@ -896,6 +896,7 @@ target_include_directories(${bun} PRIVATE
${CWD}/src/buntime/web/compression
${CWD}/src/buntime/web/events
${CWD}/src/buntime/web/streams
${CWD}/src/buntime/web/performance
${CWD}/src/buntime/modules
${CWD}/src/js/builtins
${CWD}/src/napi

View File

@@ -33,6 +33,7 @@
#include "JSPerformanceEntry.h"
#include "JSDOMBinding.h"
#include "JSDOMWrapperCache.h"
#include "JSPerformanceMark.h"
#include "JSPerformanceMeasure.h"
// #include "JSPerformanceNavigationTiming.h"