GithubHelp home page GithubHelp logo

cocos-benchmark-legacy's Introduction

PerformanceTest


1.Setup

1. Create mysql table.
  • execute mysql/create_performance_test_tabel.sql to setup mysql table.
2. Setup server.
  • run node server/index.js, please run npm install before that.
  • the mysql config file is config.json.
  • the server port is 30000.
3. Setup web server.
  • run node echarts/index.js, please run npm install before that.
  • the server port is 30001.
  • the two server and mysql above should setup in one physical server.
4. Check
  • open url http://<ip>:30001, you can see no data for now if mysql has no data.

2.Test

1.Open cocos creator project.
2.Enter Serial Number(SN), and click autoTest.
  • the same day serial number can not be repeated.
3.Support OS & Browser.
  • Mac Chrome.
  • iOS Safari.
  • iOS Chrome.
  • Android Chrome.
  • Android QQ Browser.

3. Add new test cases

you can add a new test case just by follow steps:

  • add the test case scene as usual.
  • add the test case infomation to config.TEST_CASE in the assets/scripts/utils/config.js.

cocos-benchmark-legacy's People

Contributors

2youyou2 avatar fusijie avatar jareguo avatar linyunmo avatar liuyia avatar mmyduckx avatar pandamicro avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.