micro-editor / micro-editor/micro

Slow to load editor - with or without file

Open
#1,841 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

It takes 6 seconds to load the program, with or without any file.
Used to using nano which loads in less than a second on my server
It would be nice to have a replacement for nano, but most of the time when I edit on ssh, I am doing multiple edit, save, exit, repeat. Is it normal to take this long for the editor to load? Is there any way to speed it up?

Specifications

Version: 2.0.6
Commit hash: 60846f5
Compiled on June 24, 2020

Commit hash:
OS: Ubuntu 20.04
Terminal: bash

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported startup delay on Ubuntu 20.04 in bash using micro 2.0.6 at commit 60846f5, both with and without a file. Start by comparing the two launch cases and tracing startup behavior to identify where the six seconds are spent. Done means the cause is established and an actionable performance improvement or explanation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.