Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 735e0df
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c490b8b
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 4, 2016

  1. util: improve util.format performance

    By manually copying arguments and breaking the try/catch out, we are
    able to improve the performance of util.format by 20-100% (depending on
    the types).
    
    PR-URL: #5360
    Reviewed-By: James M Snell <jasnell@gmail.com>
    evanlucas committed Mar 4, 2016
    Configuration menu
    Copy the full SHA
    8d72b0d View commit details
    Browse the repository at this point in the history
  2. util: improve format() performance further

    Replacing the regexp and replace function with a loop improves
    performance by ~60-200%.
    
    PR-URL: #5360
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and evanlucas committed Mar 4, 2016
    Configuration menu
    Copy the full SHA
    c490b8b View commit details
    Browse the repository at this point in the history
Loading