themoonrat/webgl-benchmark - GitHub
文章推薦指數: 80 %
Benchmark WebGL performance using different JavaScript rendering/game engines, such as Pixi and Phaser. themoonrat.github.io/webgl-benchmark/. Skiptocontent {{message}} themoonrat / webgl-benchmark Public Notifications Fork 5 Star 28 BenchmarkWebGLperformanceusingdifferentJavaScriptrendering/gameengines,suchasPixiandPhaser themoonrat.github.io/webgl-benchmark/ MITLicense 28 stars 5 forks Star Notifications Code Issues 0 Pullrequests 1 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 3 branches 11 tags Code Latestcommit Gitstats 67 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime src typedefs .babelrc .browserslistrc .editorconfig .eslintrc .gitattributes .gitignore LICENSE README.md package-lock.json package.json webpack.common.js webpack.dev.js webpack.prod.js Viewcode webgl-benchmark Background Usage License README.md webgl-benchmark BenchmarkWebGLperformanceusingdifferentJavaScriptrendering/gameengines,suchasPixiandPhaser https://themoonrat.github.io/webgl-benchmark/ Background Thereare2commonquestionswhendevelopingcontentsusingWebGL WhichlibraryshouldIchoose? Whatisthemostefficientwaytoconstructascenetoberendered? Questionnumber1isimpossibletoanswer,astherearemanyquestionsandconsiderationsoutsideofpurerenderingperformance.Butthisprojectdoesallowyoutomakealike-for-likeperformancecomparisonacrossscenesthataresetuptobeassimilaraspossible. Questionnumber2canbehelpedwiththisprojectbycomparingsceneswithinthesameengine,anddiscoveringwhatismostefficient. LibrariescurrentlycoveredarePixi,Phaser2andPhaser3. Scenescoveredrangefromtestingrawspriterenderingperformance,totestinggraphics&shapesrenderingperformance. Usage Youcanfindthelatestbuildathttps://themoonrat.github.io/webgl-benchmark/ Youcanalsoclonethisrepoandrunnpmrunstartforadevelopmentbuild,ornpmrunbuildforaproductionbuild. Thereare4optionsyoucanchange Library:Switchbetweendifferentrenderinglibraries.Thiswillrefreshthebrowser,asitcannotbechangedonthefly. Version:Switchbetweendifferentversionsofthecurrentlyselectedrenderinglibrary.Thistoowillrefreshthebrowser. Scene:Switchbetweendifferent'scenes'onthefly.Eachscenestresstestsadifferentaspectoftherenderinglibraryandtheabilityofthehardwareyouarerunning. ObjectCount:Changehowmanyobjectsarecurrentlybeingrenderedatonce.Somelibrariesarequickeratadding/removingobjectsthanothers,sobepatient,especiallyattheveryhighend. License MIT About BenchmarkWebGLperformanceusingdifferentJavaScriptrendering/gameengines,suchasPixiandPhaser themoonrat.github.io/webgl-benchmark/ Resources Readme License MITLicense Stars 28 stars Watchers 2 watching Forks 5 forks Releases 8 v1.5.0 Latest Dec28,2021 +7releases Packages0 Nopackagespublished Contributors3 Languages JavaScript 98.3% CSS 1.7% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.
延伸文章資訊
- 1WebGL Aquarium
- 2WebGL Benchmark
- 3Unity WebGL Benchmark
- 4BMark - An HTML5 3D Benchmark - Wirple
Test your browser performance for HTML5 3D graphics with the BMark benchmark.
- 5Updated WebGL Benchmark Results | Unity Blog
Updated WebGL Benchmark Results · A bit over a year ago, we released a blog post with performance...