Skip to content

Commit

Permalink
Merge pull request #14 from alexkvak/feature/not-touched-tags-optimiz…
Browse files Browse the repository at this point in the history
…ation

feat: Not touched tags optimization
  • Loading branch information
drwatsno authored Feb 4, 2020
2 parents 3265b62 + 7dd14c5 commit 78366a7
Show file tree
Hide file tree
Showing 61 changed files with 5,352 additions and 2,743 deletions.
104 changes: 46 additions & 58 deletions docs/api/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child {
padding-bottom: 200px; }

.row {
display: -ms-flexbox;
display: flex;
position: relative;
margin: 0 -10px; }
.row:after {
Expand Down Expand Up @@ -585,7 +587,7 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child {
height: 17px;
margin: 0 3px 2px 0;
background-image: url(../images/icons.png); }
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
.tsd-kind-icon:before {
background-image: url(../images/icons@2x.png);
background-size: 238px 204px; } }
Expand Down Expand Up @@ -1556,7 +1558,6 @@ pre {
position: fixed !important;
overflow: auto;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
z-index: 1024;
top: 0 !important;
bottom: 0 !important;
Expand Down Expand Up @@ -1645,7 +1646,6 @@ html.minimal .tsd-navigation {
position: fixed !important;
overflow: auto;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
box-sizing: border-box;
z-index: 1;
left: 0;
Expand Down Expand Up @@ -1823,11 +1823,6 @@ footer {
-o-column-count: 2;
column-count: 2; } }
.tsd-index-panel ul.tsd-index-list li {
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
-ms-column-break-inside: avoid;
-o-column-break-inside: avoid;
column-break-inside: avoid;
-webkit-page-break-inside: avoid;
-moz-page-break-inside: avoid;
-ms-page-break-inside: avoid;
Expand Down Expand Up @@ -1884,7 +1879,7 @@ footer {
border-bottom: none; }

.tsd-navigation {
padding: 0 0 0 40px; }
margin: 0 0 0 40px; }
.tsd-navigation a {
display: block;
padding-top: 2px;
Expand Down Expand Up @@ -1934,56 +1929,45 @@ footer {
.tsd-navigation.primary li.globals + li > a {
padding-top: 20px; }

.tsd-navigation.secondary ul {
transition: opacity 0.2s; }
.tsd-navigation.secondary ul li a {
padding-left: 25px; }
.tsd-navigation.secondary ul li li a {
padding-left: 45px; }
.tsd-navigation.secondary ul li li li a {
padding-left: 65px; }
.tsd-navigation.secondary ul li li li li a {
padding-left: 85px; }
.tsd-navigation.secondary ul li li li li li a {
padding-left: 105px; }
.tsd-navigation.secondary ul li li li li li li a {
padding-left: 125px; }
.tsd-navigation.secondary ul.current a {
.tsd-navigation.secondary {
max-height: calc(100vh - 1rem - 40px);
overflow: auto;
position: -webkit-sticky;
position: sticky;
top: calc(.5rem + 40px);
transition: .3s; }
.tsd-navigation.secondary.tsd-navigation--toolbar-hide {
max-height: calc(100vh - 1rem);
top: .5rem; }
.tsd-navigation.secondary ul {
transition: opacity 0.2s; }
.tsd-navigation.secondary ul li a {
padding-left: 25px; }
.tsd-navigation.secondary ul li li a {
padding-left: 45px; }
.tsd-navigation.secondary ul li li li a {
padding-left: 65px; }
.tsd-navigation.secondary ul li li li li a {
padding-left: 85px; }
.tsd-navigation.secondary ul li li li li li a {
padding-left: 105px; }
.tsd-navigation.secondary ul li li li li li li a {
padding-left: 125px; }
.tsd-navigation.secondary ul.current a {
border-left-color: #eee; }
.tsd-navigation.secondary li.focus > a,
.tsd-navigation.secondary ul.current li.focus > a {
border-left-color: #000; }
.tsd-navigation.secondary li.current {
margin-top: 20px;
margin-bottom: 20px;
border-left-color: #eee; }

.tsd-navigation.secondary li.focus > a,
.tsd-navigation.secondary ul.current li.focus > a {
border-left-color: #000; }

.tsd-navigation.secondary li.current {
margin-top: 20px;
margin-bottom: 20px;
border-left-color: #eee; }
.tsd-navigation.secondary li.current > a {
font-weight: bold; }
.tsd-navigation.secondary li.current > a {
font-weight: bold; }

@media (min-width: 901px) {
.menu-sticky-wrap {
position: static; }
.no-csspositionsticky .menu-sticky-wrap.sticky {
position: fixed; }
.no-csspositionsticky .menu-sticky-wrap.sticky-current {
position: fixed; }
.no-csspositionsticky .menu-sticky-wrap.sticky-current ul.before-current,
.no-csspositionsticky .menu-sticky-wrap.sticky-current ul.after-current {
opacity: 0; }
.no-csspositionsticky .menu-sticky-wrap.sticky-bottom {
position: absolute;
top: auto !important;
left: auto !important;
bottom: 0;
right: 0; }
.csspositionsticky .menu-sticky-wrap.sticky {
position: -webkit-sticky;
position: sticky; }
.csspositionsticky .menu-sticky-wrap.sticky-current {
position: -webkit-sticky;
position: sticky; } }
position: static; } }

.tsd-panel {
margin: 20px 0;
Expand Down Expand Up @@ -2204,15 +2188,16 @@ ul.tsd-type-parameters {
padding: 0; }

.tsd-page-toolbar {
position: absolute;
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 40px;
color: #333;
background: #fff;
border-bottom: 1px solid #eee; }
border-bottom: 1px solid #eee;
transition: transform .3s linear; }
.tsd-page-toolbar a {
color: #333;
text-decoration: none; }
Expand All @@ -2232,6 +2217,9 @@ ul.tsd-type-parameters {
.tsd-page-toolbar .table-cell:first-child {
width: 100%; }

.tsd-page-toolbar--hide {
transform: translateY(-100%); }

.tsd-widget:before, .tsd-select .tsd-select-label:before, .tsd-select .tsd-select-list li:before {
content: '';
display: inline-block;
Expand All @@ -2242,7 +2230,7 @@ ul.tsd-type-parameters {
background-repeat: no-repeat;
text-indent: -1024px;
vertical-align: bottom; }
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
.tsd-widget:before, .tsd-select .tsd-select-label:before, .tsd-select .tsd-select-list li:before {
background-image: url(../images/widgets@2x.png);
background-size: 320px 40px; } }
Expand Down
2 changes: 1 addition & 1 deletion docs/api/assets/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/assets/js/search.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/api/classes/basemanager.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L25">managers/base.ts:25</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L25">src/managers/base.ts:25</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -156,7 +156,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> locked<wbr>Key<wbr>
<div class="tsd-signature tsd-kind-icon">locked<wbr>Key<wbr>Retrieve<wbr>Strategies<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="../interfaces/lockedkeyretrievestrategy.html" class="tsd-signature-type">LockedKeyRetrieveStrategy</a><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L47">managers/base.ts:47</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L47">src/managers/base.ts:47</a></li>
</ul>
</aside>
</section>
Expand All @@ -166,7 +166,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> logger</h3>
<div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <a href="../interfaces/logger.html" class="tsd-signature-type">Logger</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L49">managers/base.ts:49</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L49">src/managers/base.ts:49</a></li>
</ul>
</aside>
</section>
Expand All @@ -176,7 +176,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> storage</h3>
<div class="tsd-signature tsd-kind-icon">storage<span class="tsd-signature-symbol">:</span> <a href="../interfaces/storage.html" class="tsd-signature-type">Storage</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L45">managers/base.ts:45</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L45">src/managers/base.ts:45</a></li>
</ul>
</aside>
</section>
Expand All @@ -194,7 +194,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> get</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/manager.html">Manager</a>.<a href="../interfaces/manager.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L51">managers/base.ts:51</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L51">src/managers/base.ts:51</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand Down Expand Up @@ -229,13 +229,13 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> get<wbr>Locked<wbr>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L92">managers/base.ts:92</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L92">src/managers/base.ts:92</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> strategyName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;LockedKeyRetrieveStrategyTypes.runExecutor</span></h5>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> strategyName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = LockedKeyRetrieveStrategyTypes.runExecutor</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/lockedkeyretrievestrategy.html" class="tsd-signature-type">LockedKeyRetrieveStrategy</a></h4>
Expand All @@ -252,7 +252,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> is<wbr>Tags<wbr>Out
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L56">managers/base.ts:56</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L56">src/managers/base.ts:56</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -272,14 +272,14 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</
<a name="set" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagAbstract">Abstract</span> set</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><a href="../globals.html#storagerecordvalue" class="tsd-signature-type">StorageRecordValue</a>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/writeoptions.html" class="tsd-signature-type">WriteOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><a href="../globals.html#storagerecordvalue" class="tsd-signature-type">StorageRecordValue</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/writeoptions.html" class="tsd-signature-type">WriteOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/manager.html">Manager</a>.<a href="../interfaces/manager.html#set">set</a></p>
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L54">managers/base.ts:54</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L54">src/managers/base.ts:54</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -308,7 +308,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> update<wbr>Cache<wb
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/c25ae76/src/managers/base.ts#L63">managers/base.ts:63</a></li>
<li>Defined in <a href="https://github.com/TinkoffCreditSystems/cachalot/blob/master/src/managers/base.ts#L63">src/managers/base.ts:63</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand Down
Loading

0 comments on commit 78366a7

Please sign in to comment.