New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

artha-server

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artha-server

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

⚡ Artha Server Benchmarks

Fast, reliable performance testing for Artha's core operations using dry runs and realistic workloads.

🎯 What This Measures

Customer Operations - Core customer lifecycle performance

  • Customer creation and setup
  • Usage tracking (light and heavy workloads)
  • Multi-feature billing calculations
  • Entitlement checks
  • Batch processing

Product & Billing - Subscription and pricing workflows

  • Free and paid plan signups
  • Plan upgrades and downgrades
  • Usage-based pricing calculations
  • Team plan setups
  • Bulk plan changes

🚀 Quick Start

# Run all benchmarks (recommended)
bun run benchmark

# Run specific category
bun run benchmark customer
bun run benchmark attach

# Export results for analysis
bun run benchmark --export

📊 Understanding Results

  • 🥇🥈🥉 Rankings by speed (fastest to slowest)
  • Green = Fast (< 5ms) | Yellow = Medium (5-20ms) | Red = Slow (> 20ms)
  • ops/sec = Operations per second throughput

Example Output

[1] Customer Creation                    2.1ms
[2] Usage Tracking (Light)               1.8ms  
[3] Free Plan Signup                     3.2ms
💡 12/14 operations under 5ms | Average: 3.1ms

🔧 Technical Details

  • 50 iterations per test with 5 warmup runs
  • Dry runs only - no database mutations or external API calls
  • Realistic latency simulation - mimics actual DB/Stripe response times
  • CPU work simulation - represents complex calculations

Perfect for CI/CD performance monitoring and optimization work!

FAQs

Package last updated on 21 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts