webgl unity_在WebGL中对Unity性能进行基准测试

本文探讨了Unity在WebGL平台上的性能表现,通过一系列基准测试展示了不同浏览器和硬件的性能对比。目前,Firefox与asm.js的组合在运行Unity WebGL内容时表现出色,但在多线程和SIMD优化的领域,WebGL仍落后于本机代码。然而,整体性能已经相当可观,并且有望在未来得到进一步提升。
摘要由CSDN通过智能技术生成

webgl unity

When we port Unity to new platforms, it is always an important question to find out how well it performs on that platform – and to see what we can do to make it perform as fast as possible.

当我们将Unity移植到新平台时,找出它在该平台上的性能如何–并查看如何使它尽可能快地运行始终是一个重要的问题。

One exciting new platform we are currently working to support is WebGL. WebGL is unique when it comes to performance: all code needs to be cross-compiled to JavaScript; some common performance-enhancing techniques, like multi-threading and SIMD, are not available yet; and we are relying on a completely new scripting runtime, IL2Cpp, to run user script code. So we need to find out: Will it be fast enough to play games? How will different browsers and hardware compare? What build settings will produce the fastest results?

我们目前正在努力支持的一个令人兴奋的新平台是WebGL。 WebGL在性能方面是独一无二的:所有代码都需要交叉编译为JavaScript; 一些通用的性能增强技术(例如多线程和SIMD)尚不可用; 而且我们依靠全新的脚本运行时IL2Cpp来运行用户脚本代码。 因此,我们需要找出答案:玩游戏是否足够快? 不同的浏览器和硬件如何比较? 哪些构建设置将产生最快的结果?

These are the questions we have asked ourselves, and we have frequently been asked by our users as well as by supplie

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值