This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
High CPU when publishing files with js-ipfs #1190
Closed
Description
- Version: js-ipfs/0.27.5
- Platform: macOS High Sierra 10.13.2 (17C205)
- Subsystem: Chrome Version 63.0.3239.132 (Official Build) (64-bit)
Type: Bug
Severity: Medium
Description:
I'm building a system in which js-ipfs node publish file and go-ipfs node get it, I'm using out-of-bound means to notify the content hash.
I've noticed that after a few seconds of fetching the file by go-ipfs the js-ipfs app in Chrome browser starts to have very high CPU usage between 50-100%.
Steps to reproduce the error:
Use webpack example app to publish a file (photo is easiest usually) and use gateway.ipfs.io it get it.
I've record a Chrome Performance session you can use to see the high CPU.