Comments (2)
Just to track it further. Here's what I posted in discord.
This is my WSL
> nu -n
> $nu.startup-time
32ms 480µs 673ns
> exit
> nu -n --no-std-lib
> $nu.startup-time
2ms 998µs 419ns
(difference 29ms 482µs 254ns)
This is my Windows 11 23H2 VM
> nu -n
> $nu.startup-time
28ms 795µs 900ns
> exit
> nu -n --no-std-lib
> $nu.startup-time
7ms 82µs 100ns
(difference 21ms 713µs 800ns)
And my Windows 10 22H2 Desktop
> nu -n
> $nu.startup-time
61ms 399µs 900ns
> exit
> nu -n --no-std-lib
> $nu.startup-time
13ms 14µs 100ns
(difference 48ms 385µs 800ns)
And my MBP M1
> nu -n
> $nu.startup-time
17ms 603µs 750ns
> exit
> nu -n --no-std-lib
> $nu.startup-time
3ms 463µs 500ns
(difference 14ms 140µs 250ns)
from nushell.
Thanks - As mentioned in Discord, mine were slightly better/faster, but that's going to be system dependent, and we need to plan for "worse case" anyway.
While I'm personally not too concerned until my startup times get near 100-250ms (I think), it's clear here that std
has a pretty significant bump on the load time that ultimately needs to get rectified. This issue/enhancement is just one (as mentioned, admittedly XY) thought.
from nushell.
Related Issues (20)
- Can't use pipeline to generate list of arguments for vim HOT 1
- All string outputs longer than one line are truncated after using SSH in Windows Terminal HOT 12
- Unexpected results in multiple commands taking closure arguments
- Feature Request: Support for `ls -r/--recursive` HOT 3
- Ease-of-use: Params enabled behind a line break. HOT 1
- Modules inside scopes are not reloaded
- Closure scoping issues HOT 2
- ctrl-o creates duplicate items in Windows
- `[email protected]` is yanked
- `find` command incorrectly output the result as lowercase
- `itertools::unfold` has been deprecated and will need to be replaced in Nu `generate` HOT 2
- Make power operator `**` work with durations HOT 2
- glob not working with windows paths
- Lazy loading for custom commands
- cd path/to/file.txt/.. causes directory not found error HOT 3
- `OneOf(String,List(String))` doesn't work in named arguments
- Attention: Nightly build of release binaries failed HOT 1
- Feature Request: Open command supports opening directories HOT 2
- Intermediary output of thefuck (potentially other commands) is lost in pipes since Nu 0.92 HOT 1
- Add 'like' operator (clone of =~) HOT 1
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 nushell.