• 大小: 17.92MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-07
  • 语言: 其他
  • 标签: react  

资源简介

react 案例111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

资源截图

代码片段和文件信息

/*
Test performance of native C UUID generation

To Compile: cc -luuid benchmark-native.c -o benchmark-native
*/

#include 
#include 
#include 
#include 

int main() {
  uuid_t myid;
  char buf[36+1];
  int i;
  struct timeval t;
  double start finish;

  gettimeofday(&t NULL);
  start = t.tv_sec + t.tv_usec/1e6;

  int n = 2e5;
  for (i = 0; i < n; i++) {
    uuid_generate(myid);
    uuid_unparse(myid buf);
  }

  gettimeofday(&t NULL);
  finish = t.tv_sec + t.tv_usec/1e6;
  double dur = finish - start;

  printf(“%d uuids/sec“ (int)(n/dur));
  return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......        18  2017-03-02 22:51  react-music-player-master\.gitignore

    .......       733  2017-03-02 22:51  react-music-player-master\app\final\components\listItem.js

    .......       617  2017-03-02 22:51  react-music-player-master\app\final\components\listitem.less

    .......       375  2017-03-02 22:51  react-music-player-master\app\final\components\logo.js

    .......       173  2017-03-02 22:51  react-music-player-master\app\final\components\logo.less

    .......       702  2017-03-02 22:51  react-music-player-master\app\final\components\progress.js

    .......       200  2017-03-02 22:51  react-music-player-master\app\final\components\progress.less

    .......      1375  2017-03-02 22:51  react-music-player-master\app\final\config\config.js

    .......       520  2017-03-02 22:51  react-music-player-master\app\final\index.js

    .......       520  2017-03-02 22:51  react-music-player-master\app\final\page\list.js

    .......      3660  2017-03-02 22:51  react-music-player-master\app\final\page\player.js

    .......      1016  2017-03-02 22:51  react-music-player-master\app\final\page\player.less

    .......      3324  2017-03-02 22:51  react-music-player-master\app\final\Root.js

    .......       103  2017-03-02 22:51  react-music-player-master\app\final\utils\util.js

    .......       387  2017-03-02 22:51  react-music-player-master\app\helloworld\components\button.js

    .......       520  2017-03-02 22:51  react-music-player-master\app\helloworld\index.js

    .......       446  2017-03-02 22:51  react-music-player-master\app\helloworld\Root.js

    .......       679  2017-03-02 22:51  react-music-player-master\app\index.tpl.html

    .......       217  2017-03-02 22:51  react-music-player-master\app\playmusic\components\progress.js

    .......       520  2017-03-02 22:51  react-music-player-master\app\playmusic\index.js

    .......      1099  2017-03-02 22:51  react-music-player-master\app\playmusic\Root.js

    .......       696  2017-03-02 22:51  react-music-player-master\app\router\components\listItem.js

    .......       584  2017-03-02 22:51  react-music-player-master\app\router\components\listitem.less

    .......       375  2017-03-02 22:51  react-music-player-master\app\router\components\logo.js

    .......        75  2017-03-02 22:51  react-music-player-master\app\router\components\logo.less

    .......       217  2017-03-02 22:51  react-music-player-master\app\router\components\progress.js

    .......      1375  2017-03-02 22:51  react-music-player-master\app\router\config\config.js

    .......       520  2017-03-02 22:51  react-music-player-master\app\router\index.js

    .......       472  2017-03-02 22:51  react-music-player-master\app\router\page\list.js

    .......      1046  2017-03-02 22:51  react-music-player-master\app\router\page\player.js

............此处省略15257个文件信息

评论

共有 条评论