gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.28k stars 10.31k forks source link

Seeing `Infinity/s` when developing `www` locally #19130

Closed fk closed 4 years ago

fk commented 5 years ago

I just stumbled upon this when adding a console.log to a file (src/assets/icons/layer-icon.js) while developing www locally:

image

Heads up: I didn't have the time yet to see if this happens everytime/is a good way to reproduce the issue. Also didn't update Gatsby in a bit … will update as I develop moar.

gatsby info --clipboard:


  System:
    OS: macOS 10.14.5
    CPU: x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Shell: 5.0.11 - /usr/local/bin/bash
  Binaries:
    Node: 12.11.1 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
  Languages:
    Python: 2.7.16 - /usr/local/bin/python
  Browsers:
    Chrome: 78.0.3904.70
    Firefox: 69.0.1
    Safari: 12.1.1
  npmPackages:
    gatsby: ^2.17.6 => 2.16.1 
    gatsby-design-tokens: ~1.0.10 => 1.0.10 
    gatsby-image: ^2.2.30 => 2.2.29 
    gatsby-plugin-canonical-urls: ^2.1.13 => 2.1.13 
    gatsby-plugin-catch-links: ^2.1.15 => 2.1.15 
    gatsby-plugin-emotion: ^4.1.13 => 4.1.12 
    gatsby-plugin-feed: ^2.3.19 => 2.3.18 
    gatsby-plugin-google-analytics: ^2.1.23 => 2.1.23 
    gatsby-plugin-google-tagmanager: ^2.1.15 => 2.1.15 
    gatsby-plugin-guess-js: ^1.1.22 => 1.1.21 
    gatsby-plugin-layout: ^1.1.13 => 1.1.13 
    gatsby-plugin-mailchimp: ^2.2.3 => 2.2.3 
    gatsby-plugin-manifest: ^2.2.25 => 2.2.23 
    gatsby-plugin-mdx: ^1.0.54 => 1.0.52 
    gatsby-plugin-netlify: ^2.1.23 => 2.1.21 
    gatsby-plugin-netlify-cache: ^0.1.0 => 0.1.0 
    gatsby-plugin-nprogress: ^2.1.12 => 2.1.12 
    gatsby-plugin-offline: ^3.0.17 => 3.0.16 
    gatsby-plugin-react-helmet: ^3.1.13 => 3.1.13 
    gatsby-plugin-sharp: ^2.2.34 => 2.2.31 
    gatsby-plugin-sitemap: ^2.2.19 => 2.2.19 
    gatsby-plugin-theme-ui: ^0.2.43 => 0.2.43 
    gatsby-plugin-twitter: ^2.1.12 => 2.1.12 
    gatsby-plugin-typography: ^2.3.15 => 2.3.14 
    gatsby-remark-autolink-headers: ^2.1.16 => 2.1.16 
    gatsby-remark-code-titles: ^1.1.0 => 1.1.0 
    gatsby-remark-copy-linked-files: ^2.1.28 => 2.1.28 
    gatsby-remark-embed-video: ^1.7.1 => 1.7.1 
    gatsby-remark-graphviz: ^1.1.15 => 1.1.15 
    gatsby-remark-images: ^3.1.28 => 3.1.28 
    gatsby-remark-normalize-paths: ^1.0.0 => 1.0.0 
    gatsby-remark-prismjs: ^3.3.20 => 3.3.20 
    gatsby-remark-responsive-iframe: ^2.2.25 => 2.2.25 
    gatsby-remark-smartypants: ^2.1.14 => 2.1.14 
    gatsby-source-airtable: ^2.0.9 => 2.0.9 
    gatsby-source-filesystem: ^2.1.35 => 2.1.33 
    gatsby-source-npm-package-search: ^2.1.16 => 2.1.16 
    gatsby-transformer-csv: ^2.1.15 => 2.1.14 
    gatsby-transformer-documentationjs: ^4.1.16 => 4.1.16 
    gatsby-transformer-remark: ^2.6.32 => 2.6.30 
    gatsby-transformer-screenshot: ^2.1.37 => 2.1.35 
    gatsby-transformer-sharp: ^2.3.1 => 2.2.23 
    gatsby-transformer-yaml: ^2.2.15 => 2.2.15 
mi-na-bot commented 4 years ago

It sure doesn't feel like the queries are running at Infinity/s...

sidharthachatterjee commented 4 years ago

@pieh fixed this in https://github.com/gatsbyjs/gatsby/pull/19617

Thanks!

fk commented 4 years ago

<3 🙏