Giter Site home page Giter Site logo

Comments (2)

fdncred avatar fdncred commented on July 3, 2024 1

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.

NotTheDr01ds avatar NotTheDr01ds commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.