Skip to content

Commit 1f90b98

Browse files
committed
2022.6-Client(performance)
1 parent 82006c1 commit 1f90b98

36 files changed

+93
-79
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
500 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
13.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.

.gradle/file-system.probe

0 Bytes
Binary file not shown.

README-en.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Optilog
2+
23
![Build](https://img.shields.io/badge/Build-Passing-green)
34
[![Latest-Release](https://img.shields.io/badge/Release-Latest-blue)](https://github.com/OptiJava/Optilog-Client/releases/latest)
45
[![Languege](https://img.shields.io/badge/Language-ChinesePage-red)](https://github.com/OptiJava/Optilog-Client/blob/master/README.md)
@@ -22,8 +23,9 @@ will be a bug! (see wiki for details)(expect when you need change setting file)
2223

2324
# Optilog advantages
2425

25-
1.High performance: Initialization log + output a log (output to the screen + output to a file + output to the server
26-
through socket) only takes 130 milliseconds at most (it will be optimized later), and log4j takes at least 300
26+
1.High performance: After initialization log, output a log (output to the screen + output to a file + output to the
27+
server
28+
through socket) only takes 8 milliseconds at most (it will be optimized later), and log4j takes at least 41
2729
milliseconds.
2830

2931
2.Optilog supports unlimited placeholders and can be reused (#1 #1 outputs the first placeholder twice). Log4j only

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# [Optilog-Client](https://github.com/OptiJava/Optilog-Client/)
2+
23
![Build](https://img.shields.io/badge/Build-Passing-green)
34
[![Latest-Release](https://img.shields.io/badge/Release-Latest-blue)](https://github.com/OptiJava/Optilog-Client/releases/latest)
45
[![Languege](https://img.shields.io/badge/Language-EnglishPage-red)](https://github.com/OptiJava/Optilog-Client/blob/master/README-en.md)
@@ -21,7 +22,7 @@ _如果你愿意,欢迎Fork这个仓库为Optilog做出贡献,本项目的
2122

2223
# Optilog的优势
2324

24-
1.性能高:初始化日志+输出一条日志(输出到屏幕+输出到文件+通过socket输出到服务端) 最快只需要130毫秒(后续还会再优化),log4j至少300毫秒
25+
1.性能高:在初始化后,再输出一条日志(输出到屏幕+输出到文件+通过socket输出到服务端) 最快只需要8毫秒(后续还会再优化),log4j至少41毫秒
2526

2627
2.占位符方便:Optilog支持无限个占位符,并且可以重复使用(#1 #1输出两次第一个占位符),log4j只支持9个占位符
2728

@@ -58,7 +59,8 @@ _如果你愿意,欢迎Fork这个仓库为Optilog做出贡献,本项目的
5859

5960
# Dependency:
6061

61-
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper:9.0.26`(Tomcat依赖如果你不用的话可以没有,如果你只用properties作为配置文件的话Gson和Jackson也可以不加)
62+
`Gson-2.9.0` `jackson-dataformat-xml-2.13.3` `tomcat-embed-core-9.0.26` `tomcat-embed-jasper:9.0.26`(
63+
Tomcat依赖如果你不用的话可以没有,如果你只用properties作为配置文件的话Gson和Jackson也可以不加)
6264

6365
# Author:
6466

176 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)