Thanks to visit codestin.com
Credit goes to github.com

Skip to content

4.6.7 AbstractParser 加了2个 system.err.printlin 输出,关不掉,影响了压测性能 #232

@xialonglee

Description

@xialonglee

环境信息

  • 系统: Windows 10
  • JDK: 1.8.0_17
  • 数据库: MySQL 8
  • APIJSON: APIJSON 4.6.7

问题描述
这个4月7号的提交
8cf170c

在 apijson/orm/AbstractParser.java
加了2条 system.err.println 日志,关不掉

据我这边压测,发现这里占用了性能,而且关不掉,建议改成 log.d

System.err.println("\n\n\n\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n "
	+ TAG + ".DEBUG: " + requestMethod + "/parseResponse  request = \n" + requestString + "\n\n");

System.err.println(TAG + ".DEBUG: " + requestMethod + "/parseResponse return response = \n" + JSON.toJSONString(requestObject) + "\n\n");

错误信息

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions