Comments (5)
Hugo bin on its own can tear through 1,000 pps like butter when run on HDD. My take is the JS is the bottleneck as the code isn't compiled – it's interpreted.
from victor-hugo.
I've seen very large sites run locally and never anything like this. Can you provide more details so we can reproduce? Is your repo public?
from victor-hugo.
Sorry @erquhart it isn't public. We use Hugo's partials functionality no templates, and we copy js files instead of using webpack.
Here's the latest:
Built site for language en:
0 draft content
0 future content
0 expired content
1180 regular pages created
142 other pages created
5548 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 3864 ms
[08:57:52] Finished 'hugo' after 6.98 s
[08:57:52] Starting 'server'...
[09:00:18] Finished 'server' after 2.42 min
[BS] Access URLs:
----------------------------------------
Local: http://localhost:3000
External: http://192.168.103.241:3000
----------------------------------------
UI: http://localhost:3001
UI External: http://192.168.103.241:3001
----------------------------------------
[BS] Serving files from: ./dist
Would sharing the config file help?
from victor-hugo.
Considering the number of files you're watching, this might be par for the course. The hugo task I'm using isn't stock, so that takes longer, but the rest is pretty much the same - here's what I'm seeing with a large site, but with considerably less files than yours:
Built site for language en:
0 draft content
47 of 47 futures rendered
0 expired content
566 regular pages created
522 other pages created
0 non-page files copied
198 paginator pages created
69 speaker created
0 tags created
115 categories created
0 collections created
56 author created
total in 14600 ms
[15:51:14] Finished 'hugo' after 34 s
[15:51:14] Starting 'server'...
[15:51:40] Finished 'server' after 26 s
[Browsersync] Access URLs:
------------------------------------
Local: http://localhost:3000
External: http://192.168.0.9:3000
------------------------------------
UI: http://localhost:3001
UI External: http://192.168.0.9:3001
------------------------------------
[Browsersync] Serving files from: ./dist
Perhaps there are ways to optimize the pipeline, or just get rid of gulp and use webpack (not certain it would be faster, but maybe so).
from victor-hugo.
Closing this due to age, comment if you want to revive.
from victor-hugo.
Related Issues (20)
- Can't get access to data from the data folder HOT 1
- build:webpack script CLI options `--hot --inline` adding bloat to JS bundle? HOT 6
- Install Fail - check python? HOT 1
- TypeError: CleanWebpackPlugin is not a constructor HOT 1
- multi site ? HOT 1
- How to use yarn start to listen on 0.0.0.0 address ? HOT 1
- Some font files aren't copied to dist unless build is run first HOT 1
- Action Required: Fix Renovate Configuration
- Allow to import CSS from node_modules
- Jjj
- 404 Page Doesn't Build
- Replace UglifyJS webpack plugin with Terser
- npm start throws error after fresh repo install HOT 1
- Enable "Template Repository" for this repository
- Font location ambiguity
- Apple Silicon issues with hugo-bin and node-sass (and workaround) HOT 6
- (bug) Instruction errors in CONTRIBUTING.md
- Link to PostCSS Next in Readme is broken
- Project Deprecation HOT 3
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from victor-hugo.