Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
www
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Marcus
www
Commits
1baf0713
Commit
1baf0713
authored
7 years ago
by
Michael Kohlhase
Browse files
Options
Downloads
Patches
Plain Diff
more itemize
parent
e9a894a3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-6
6 additions, 6 deletions
README.md
with
6 additions
and
6 deletions
README.md
+
6
−
6
View file @
1baf0713
...
...
@@ -35,12 +35,12 @@ It used to take around 5 minutes to build, with a few optimizations it now only
The biggest slowdowns were:
*
unneeded iterations
*
iterations within iterations (usually not required, if one thinks carefully)
*
`if`
conditions within a loop, instead of a
`where`
clause
*
full iteration to extract a single item (use
`first`
instead)
*
repeated sorting of
`site.pages`
by the same
`menu_order`
key (instead sort this once and use a global variable)
*
multiple chained
`if`
s instead of a single
`and`
*
unneeded variable assignments (these seem to take a lot of time in liquid)
*
iterations within iterations (usually not required, if one thinks carefully)
*
`if`
conditions within a loop, instead of a
`where`
clause
*
full iteration to extract a single item (use
`first`
instead)
*
repeated sorting of
`site.pages`
by the same
`menu_order`
key (instead sort this once and use a global variable)
*
multiple chained
`if`
s instead of a single
`and`
*
unneeded variable assignments (these seem to take a lot of time in liquid)
## How to use Jekyll to test/build this website
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment