[adapters] [extension] 增加对多线程 HTTP 的支持,修复创建多线程扩展错误的问题

This commit is contained in:
SmallMain
2024-11-14 20:03:04 +08:00
parent 22941a3c1f
commit 02eb90b78e
21 changed files with 404 additions and 67 deletions

View File

@@ -56,6 +56,8 @@ module.exports = {
'thread_debug_desc': 'When enabled, detailed logs will be output for debugging, which may significantly reduce performance.',
'thread_custom': 'Project multithreading extension',
'thread_custom_desc': 'This will activate the multithreading extension in the project\'s worker directory.',
'thread_http': 'Multi-threaded XMLHttpRequest',
'thread_http_desc': 'When enabled, XMLHttpRequest will be moved to a thread for execution, because there is a data roundtrip time, please actually test whether there is an improvement in performance.',
'thread_asset_pipeline': 'Multi-threaded Asset Pipeline',
'thread_asset_pipeline_desc': 'When enabled, the asset pipeline will be executed in a separate thread, reducing stuttering caused by resource downloading, caching, and loading.',
'thread_audio_system': 'Multi-threaded Audio System',

View File

@@ -56,6 +56,8 @@ module.exports = {
'thread_debug_desc': '启用后将会输出详细日志以便进行调试,这可能会大幅降低性能。',
'thread_custom': '项目多线程扩展',
'thread_custom_desc': '启用后将会激活项目 worker 目录下的自定义扩展。',
'thread_http': '多线程驱动 XMLHttpRequest',
'thread_http_desc': '启用后 XMLHttpRequest 将会移至线程中执行,由于存在数据往返的耗时,请实际测试对性能是否有提升。',
'thread_asset_pipeline': '多线程驱动资源管线',
'thread_asset_pipeline_desc': '启用后将资源管线移至线程中执行,减少由资源下载、缓存与加载导致的卡顿。',
'thread_audio_system': '多线程驱动音频系统',