Skip to content

生成md5字符串有一定损耗 #23

Description

@hengyu-coder

在 200并发压测情况下,单个应用接口生成md5 损耗在2%左右,这个方法调用比较高频,需要优化一下;
跟踪了损耗点主要在com.pamirs.pradar.InvokeContext#getDigest方法, 获取 MessageDigest 实例对象可以考虑做个单例对象

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions