Skip to content

性能测试,给出比对报告 #37

@yyc-git

Description

@yyc-git

渲染1w个box

使用的优化(确保为通用优化):

RenderBundle
dynamic uniform buffer offset
one vertex buffer
one model matrix buffer
one material buffer
one camera buffer(view matrix, p matrix)
update dirty ones by device.writeBuffer
instance

不使用的优化:

需要的修改:

box由六个面组成(与three.js一样)
共用geometry
不共用material

测试维度:

内存
帧率
创建时间(初始化中的时间,如创建场景、注册插件等)

渲染1w个box,修改model matrix

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions