Comments (3)
在node要多久呢?
puerts下node由于要配合ue,要比正常node的io慢一些。
from puerts.
在node要多久呢? puerts下node由于要配合ue,要比正常node的io慢一些。
第一张图用的puerts_nodejs版本,第二张图用的纯nodejs 。 90M文件 ,puerts_nodejs 版用时15秒,普通nodejs 用时2秒 。我试了超过GB以上的文件, 文件越大,他们之间所用时间差异会非常f大。 本来想利用js来避开UE C++一些网络相关的繁琐步骤= .= 我看网上文章也说明了如何优化puerts 的IO http://www.manongjc.com/detail/60-fkdtlbncqoqqeot.html 看来只能先把网络和IO的部分移到C++里面去,看看大佬这块内容后续还有没有优化的空间
from puerts.
差不多,我之前测试是6倍的差距。
主要是脚本要在主线程中执行,需要通过GraphTask跑,延迟比较大。
from puerts.
Related Issues (20)
- [Unity]兼容1.0的jsEnv.ExecuteModule<JSObject>("UIEvent.mjs", "")写法
- [Unity]mac下ut偶现崩溃 HOT 6
- [Unity]文件长度为0的module加载时报找不到模块
- [Unity]考虑将Plugin API简化
- [Unity] Bug: 使用backend v8异步加载并实例化wasm会一直挂起 HOT 2
- [UE] Bug: 基于模板的静态绑定,编译报错 C4668 HOT 3
- [Unity] Bug: upm 包的运行时库配置有误 HOT 3
- [Unity] Bug: Crash when trying to access transform or gameObject properties through a JS proxy HOT 4
- [Unity] Bug: Crash on LoadType HOT 3
- [Unity] Bug: WebGL 平台构建出错 HOT 2
- [Unity] 有没有出类似最佳实践的计划
- [Unity]v8 10.6在mac下运行报v8::base::OS::SetPermissions失败
- [Unity]v8的FunctionTemplate同key的属性导致的问题
- [Unity]适用于top-level-await的esm实现 HOT 1
- [Unity]鸿蒙出包注意事项
- [UE] Bug: 在PublicIncludePaths中引入Programs/UnrealHeaderTool/Public,编译时会产生大量警告 HOT 4
- [UE]ts定制的组件attach c++定义的组件报错 HOT 1
- [UE] Bug: TS定义一个的property组件找不到SetAnimClass()函数 HOT 5
- [UE] Bug: 生成的ue.d.ts会漏掉/Engine下的蓝图类
- [Unity] Bug: 发布微信小程序报错JsEnv has been disposed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puerts.