Skip to content

kyubuns/HaxeUnityBenchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaxeUnityBenchmark

Haxeで書いたコードをUnity上で動かすにあたり、どんな方法が良いか検討するための実験コード

結果

Csharp

  • Haxe -> CsharpのDLLを作ってUnityに放り込む
  • Run on iPhone11Pro: 0.00s / 5000回
  • Compile: haxe cs.hxml 0.96s user 0.23s system 99% cpu 1.201 total (HotReloadは出来ない)

JavaScript - Jint

  • sebastienros/jint
  • Run on iPhone11Pro: 18.64s / 5000回
  • Compile: haxe js.hxml 0.18s user 0.08s system 98% cpu 0.263 total

Lua - xLua

  • Tencent/xLua
  • Run on iPhone11Pro: 1.15s / 5000回
  • Compile: haxe lua.hxml 0.35s user 0.12s system 97% cpu 0.475 total

JavaScript - jurassic

About

Haxeで書いたコードをUnity上で動かすにあたり、どんな方法が良いか検討するための実験コード

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages