Skip to content
MK (fengmk2) edited this page Mar 3, 2026 · 24 revisions

Performance

reports

Claude Code Prompts

shared by @elrrrrrrr https://github.com/cnpm/cnpmcore/issues/900

1. Try to analyze the cpuprofile files under ~/Downloads/cnpmcore/4.18.0/
2. My project code is in ~/git/github.com/cnpm/cnpmcore, please help me analyze it
3. Including the call relationship diagram between the hotspot code
4. Save the analysis scripts that may be used and the final report to ~/git/github.com/cnpm/cnpmcore/benchmark/profiler-4.18.0 directory

**Review and understand the current implementation status with your subagent**, or your context will quickly become exhausted.
Create a plan to achieve this with your ultrathink.

More details, like "Application Code → Bone Hotspot Call Relationship Diagram"

Can we find a call relationship diagram between the application layer code and the Bone hotspot code?
Can we find a call relationship diagram between the hotspot code?

Admin

  • Emergency delete specified package version
curl -X DELETE -v "https://{registry}/{package}/-/{package}-{version}.tgz/-rev/undefined" \
  -H "Authorization: Bearer {token}" \
  -H "npm-command: unpublish" \
  -H "user-agent: npm/10.0.0"

// should be json response
{"ok":true}
  • Force sync a package (admin token required)
curl -X PUT -v \
  'https://registry.npmmirror.com/-/package/lodash/syncs' \
  -H 'authorization: Bearer <admin-token>' \
  -H 'content-type: application/json' \
  -d '{"force": true}'

Clone this wiki locally