Giter VIP home page Giter VIP logo

lua-game_rank's Introduction

Compile

  • install lua lib
$ make

Test with lua5.3

  • base test
$ lua test.lua
  • stress test
$ lua stress_test.lua

Problems

  • stress test 指定 N 为 10w 时,我的机器上执行大概 1 秒多,当把 N 改成 50w 时,再执行就需要 50 秒多,为什么不是 5 秒多执行完呢(这里的时间是 2020年5月4日更新采用 memmove 前的测试记录)。
  • stress test 把 obj 设置为 nil 强制垃圾回收,内存似乎只回收了一半,相比初始时还增加了很多内存,为什么回收后没有回到初始的内存呢。
  • stress test 执行 100w 条结果能否优化到 2 秒内呢。

lua-game_rank's People

Contributors

ylme avatar

Stargazers

SEE avatar libz avatar 涵曦 avatar huangjx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.