Giter VIP home page Giter VIP logo

Comments (6)

xuxijie avatar xuxijie commented on June 9, 2024

你的数据是怎么构造的?直接是讲test.data里面的主键扩展到500w个吗?我们先复现一下

from havenask.

xuxijie avatar xuxijie commented on June 9, 2024

是不是编出来的是release版本?编译的时候加上 -c opt --copt -g --strip=never试一下

from havenask.

supercocoa7654 avatar supercocoa7654 commented on June 9, 2024

确实用自带的example性能也比之前要低

from havenask.

xuxijie avatar xuxijie commented on June 9, 2024

替换成bazel之后,默认的编译没有加上优化选项,编译的时候加上-c opt ,我们这边也将镜像更新一下

from havenask.

breeent avatar breeent commented on June 9, 2024

是不是编出来的是release版本?编译的时候加上 -c opt --copt -g --strip=never试一下

加上了以后性能似乎还是有差距,我把这个请求'http://127.0.0.1:45800/?cluster=in0&&query=%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E&&config=rank_size:10000'复制10000000次然后用同等压力去发压,两个版本cpu的消耗是不一样的
0.4.0版本:
image

当前版本:
image

可以看到cpu idle以及进程对cpu占用差距都比较明显

数据用的是example/data/expand_dataset.py这个脚本直接扩增的,命令是 python expand_dataset.py test.data id 5000000

from havenask.

xuxijie avatar xuxijie commented on June 9, 2024

镜像已经更新,请用最新的1.0.0-beta2 这个版本的镜像试一下

from havenask.

Related Issues (20)

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.