Urgent.News

What's breaking now, across thousands of outlets.

Tech

Vitest vs Jest vs node:test in 2026: Benchmarked on a Real TypeScript Project

Cross-posted from my blog. The original, with any updates, lives on fabwaseem.com . I ran the same TypeScript test suite under Vitest 5.1, Jest 30.5 and Node's built-in node:test , and timed cold runs, warm runs, single files, watch mode and coverage. The suite is 39 test files and 183 tests against a small NestJS-style orders service, an HTTP API and an MCP server. The result surprised me: with…

In November 2026, a TypeScript test suite was benchmarked on a Linux VM with 8 vCPUs and 16 GB RAM using three test runners: Vitest 5.1, Jest 30.5.2 with SWC, and Node's built-in `node:test`. The tests consisted of 39 files and 183 tests that covered a NestJS-style orders service, HTTP API, and MCP server.

The benchmark revealed that with default settings, Jest with SWC was the fastest full run, while Vitest was the slowest. However, when isolation settings were adjusted, the ranking changed. Without isolation, Vitest and Node's `node:test` were both faster than Jest.

The study also examined different configurations, such as using threads or vmThreads for Vitest, and type-checking with ts-jest. It found that isolation was the most significant factor affecting performance, with Vitest's default forks pool running each test file in its own child process and Jest's separate VM contexts for each file. Disabling isolation led to significant improvements in both Vitest and Node's `node:test` times.

Additionally, the benchmark showed that as the test suite grew in size (to 156 files and 732 tests), the performance gap between the runners widened. Vitest's performance remained relatively stable, while Jest's time increased more noticeably. The study concluded that while the exact timings may vary depending on the machine and environment, the overall trend would likely remain consistent.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A Fade-Out Is Not Yet a Crossfade: Test the Timeline Before Shipping Audio

You soften the end of the first clip, export a join, and expect the second clip to start earlier. It may not. A fade changes amplitude over time; a crossfade also overlaps neighboring clips.

  • Alex conducted experiment on November 1, 2026, to test fade-out vs crossfade
  • Fade-out alone does not shift start time of following clip
  • Crossfade with matching durations adjusts combined audio duration

What Is Cybersecurity and Why Is It Important?

What is cybersecurity? Cybersecurity is the practice of protecting computers, networks, applications and data from attack, damage or unauthorized access. It is not one tool.

  • Confidentiality ensures only authorized access to sensitive data.
  • Integrity guarantees data accuracy and unaltered status.
  • Availability ensures systems and data are accessible when needed.

Check a new beneficiary CLABE name before changing payout details

A seller on your Mexico marketplace asks to change the CLABE that receives payouts. If you swap it without checking, the next payout may reach someone else's account.

  • Verify new CLABE name against bank evidence before changing payout details.
  • If name doesn't match closely, send change request for review instead of applying automatically.
  • Carefully validate payout details change to prevent funds from going to wrong account.

Kedr: a SACD ISO to FLAC app, written in Cursor

I wanted a Mac utility that takes a Super Audio CD image and turns it into FLAC. Opening the ISO in ffmpeg does not work. The disc is not PCM. It is one-bit DSD, often still packed as DST.

  • Kedr is an SACD ISO to FLAC conversion app written in Cursor for macOS.
  • The app supports one-bit DSD audio and FLAC/MP3 output formats, preserving original tags.

OpenAI Commits 1,000 MW of Flexible Power Capacity Under Grid Protectors Program in Georgia

OpenAI has unveiled a national initiative it calls the Grid Protectors Program, and its first working example sits in Effingham County, Georgia.

  • OpenAI commits 1,000 MW flexible power capacity in Georgia's Grid Protectors Program.
  • Project aims to reduce power consumption during peak grid stress, supporting essential services.
  • Georgia Power covers up to 1,000 MW costs, helping fund grid infrastructure.

More from Tuesday 3 November →