From b32d113762141300853189c9b24cafef46c609a8 Mon Sep 17 00:00:00 2001
From: RedKale <22250530@qq.com>
Date: Sat, 30 Jan 2016 10:15:31 +0800
Subject: [PATCH]
---
convert.html | 2 +-
index.html | 2 +-
net.html | 2 +-
redkale.html | 2 +-
service.html | 2 +-
source.html | 2 +-
stylesheets/stylesheet.css | 7 ++-----
watch.html | 2 +-
8 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/convert.html b/convert.html
index 35accc6a4..ddb121742 100644
--- a/convert.html
+++ b/convert.html
@@ -415,7 +415,7 @@
6. SIGN_OBJECTE 标记位,值固定为0xEE (short)
Redkale官网: http://redkale.org
diff --git a/net.html b/net.html index 38b56d91a..4c7728c12 100644 --- a/net.html +++ b/net.html @@ -673,7 +673,7 @@ diff --git a/redkale.html b/redkale.html index 54a423288..e322b5133 100644 --- a/redkale.html +++ b/redkale.html @@ -690,7 +690,7 @@ diff --git a/service.html b/service.html index 126c5e971..bdaebce42 100644 --- a/service.html +++ b/service.html @@ -303,7 +303,7 @@ 如上描述,一个请求处理耗时 180ms,同时占用一个线程的时间也是 180ms。若换成NIO使IO耗时减少,为了方便计算假设IO耗时为0(当然实际情况是不可能的), 那么步骤1、4的耗时忽略不计,线程的占用时间由180ms变成160ms。 假设数据查询接口IO操作本身耗时也是10ms,那么有140ms是用于等待。若采用DataSource异步接口, 则140ms的等待时间可以释放当前线程资源。虽然整个请求的处理时间还是180ms,但是线程的占用时间却只有20ms。可以看出减少耗时多的步骤的等待时间才能事半功倍,大幅度地提高性能。异步接口的主要作用是远程请求在等待过程中释放当前线程资源。大大减少线程数,也减少大量线程之间的切换消耗。 diff --git a/source.html b/source.html index f2711d7e7..f4ef17dd1 100644 --- a/source.html +++ b/source.html @@ -227,7 +227,7 @@ </persistence> diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css index 3623b0263..8c2af1144 100644 --- a/stylesheets/stylesheet.css +++ b/stylesheets/stylesheet.css @@ -112,13 +112,11 @@ a:hover { .project-name { display: inline-block; margin-top: 0; - margin-left:0.6rem; - margin-right: 1rem; padding-left: 2.4rem; text-decoration: none; text-decoration-color: #FFFFFF; background: url(/logo_96.png) no-repeat left center ; - background-size: 1.98em; + background-size: 2em; letter-spacing: 0; text-shadow: 0px 1px 0px #999, 0px 1px 0px #888, 0px 2px 0px #777, 0px 2px 0px #666, 0px 3px 0px #555, 0px 3px 0px #444, 0px 4px 0px #333, 0px 4px 7px #001135; font-style: italic; @@ -155,14 +153,12 @@ a:hover { @media screen and (min-width: 42em) and (max-width: 64em) { .project-name { font-size: 2.25rem; - background-size: 1.6em; } } @media screen and (max-width: 42em) { .project-name { font-size: 1.75rem; - background-size: 1.2em; } } @@ -194,6 +190,7 @@ a:hover { @media screen and (max-width: 42em) { .project-tagline { font-size: 1rem; + } } diff --git a/watch.html b/watch.html index cbbf9d498..2722fe666 100644 --- a/watch.html +++ b/watch.html @@ -33,7 +33,7 @@