Skip to main content

CurateClick

www.npmjs.com favicon

instant-rs

一个比 console.time 更好的耗时度量工具,提供更友好的时间格式显示,采用 Rust API 设计,并解决了 console.time 需要重复写 label 的问题。

Check out instant-rs on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

简介A better 比 console.time 更好的耗时度量工具,将耗时转成可读性更好的格式,采用 Rust API 设计,同时解决 console.time label 需要写两次问题。## 效果`1337000000ms => '15d 11h 23m 20s'````jsimport Instant from 'instant-rs'const now = Instant.now();// 执行耗时操作await doSthExpensive()console.log("time costs", now.elapsed());```## 项目链接

Latest Weekly Picks

Predict video virality before you publish.

Virality Predictor

Powerful Motion Control AI Video Generator

Motion Control AI

PlusGO 是面向中国大陆用户的 ChatGPT Plus 代充值服务平台。使用官方 CDKey,支持支付宝和微信扫码支付,平均 2 分钟完成 Plus 开通,自 2025 年起已为超过 10,000 名用户完成充值。

www.toolcenter.ai favicon
Weekly Pick

Discover the Best AI & Productivity Tools — 1,500+ tools with honest reviews.

ToolCenter
huntereyes.net favicon
Weekly Pick

AI Eye Area Evaluation

Hunter Eyes
www.payforchat.com favicon
Weekly Pick

Subscribe to ChatGPT Plus/Pro in 1 minute — no international credit card needed.

PayForChat
happyhorseai.ai favicon
Weekly Pick

Happy Horse AI Creates Videos with Motion and Storytelling

Happy Horse
promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder