themoonrat/webgl-benchmark - GitHub

文章推薦指數: 80 %
投票人數:10人

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.



請為這篇文章評分?