wh1t3p1g / tabby

A CAT called tabby ( Code Analysis Tool )
https://www.yuque.com/wh1t3p1g/tp0c1t/lf12lg69ngh47akx
Apache License 2.0
1.3k stars 153 forks source link

About optimizing the performance #65

Closed to016 closed 1 year ago

to016 commented 1 year ago

I used this tool for finding a method call, but the database-building process took so long.

This is the folder structure

PS D:\Tools\tabby\cases> tree /F
Folder PATH listing for volume User
Volume serial number is 1284-D760
D:.
└───aliyunCTF2023
    │   bypassit.jar
    │
    └───libs
            jackson-annotations-2.13.3.jar
            jackson-core-2.13.3.jar
            jackson-databind-2.13.3.jar
            jackson-datatype-jdk8-2.13.3.jar
            jackson-datatype-jsr310-2.13.3.jar
            jackson-module-parameter-names-2.13.3.jar
            jakarta.annotation-api-1.3.5.jar
            jul-to-slf4j-1.7.36.jar
            log4j-api-2.17.2.jar
            log4j-to-slf4j-2.17.2.jar
            logback-classic-1.2.11.jar
            logback-core-1.2.11.jar
            slf4j-api-1.7.36.jar
            snakeyaml-1.29.jar
            spring-aop-5.3.22.jar
            spring-beans-5.3.22.jar
            spring-boot-2.6.11.jar
            spring-boot-autoconfigure-2.6.11.jar
            spring-boot-jarmode-layertools-2.6.11.jar
            spring-context-5.3.22.jar
            spring-core-5.3.22.jar
            spring-expression-5.3.22.jar
            spring-jcl-5.3.22.jar
            spring-web-5.3.22.jar
            spring-webmvc-5.3.22.jar
            tomcat-embed-core-9.0.65.jar
            tomcat-embed-el-9.0.65.jar
            tomcat-embed-websocket-9.0.65.jar

and the time:

image

Are there anyway to improve the performance ? (i had increased the dbms.memory.heap.initial_size, dbms.memory.heap.max_size, dbms.memory.pagecache.size)

wh1t3p1g commented 1 year ago

看最下方的索引优化,https://github.com/wh1t3p1g/tabby/blob/master/doc/Neo4j%20%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE%20%20V5.md

to016 commented 1 year ago

看最下方的索引优化,https://github.com/wh1t3p1g/tabby/blob/master/doc/Neo4j%20%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE%20%20V5.md

It works

image