Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ audit = ["scitex-audit>=0.1.2"]

# Benchmark Module - Performance monitoring
# Use: pip install scitex[benchmark]
benchmark = [
"psutil",
]
# Real implementation lives in the standalone scitex-benchmark package.
benchmark = ["scitex-benchmark>=0.1.0"]

# Bridge Module - External system integration
# Use: pip install scitex[bridge]
Expand Down
50 changes: 15 additions & 35 deletions src/scitex/benchmark/__init__.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,20 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Time-stamp: "2025-07-25 05:25:00"
# File: __init__.py
"""SciTeX benchmark — thin compatibility shim for scitex-benchmark.

"""
SciTeX Performance Benchmarking Suite
Aliases ``scitex.benchmark`` to the standalone ``scitex_benchmark`` package
via ``sys.modules``. ``scitex.benchmark is scitex_benchmark``.

This module provides tools for benchmarking and monitoring the performance
of SciTeX functions.
Install: ``pip install scitex[benchmark]`` (or ``pip install scitex-benchmark``).
See: https://github.com/ywatanabe1989/scitex-benchmark
"""

from .benchmark import (
BenchmarkResult,
BenchmarkSuite,
benchmark_function,
benchmark_module,
compare_implementations,
run_all_benchmarks,
)
from .monitor import PerformanceMonitor, get_performance_stats, track_performance
from .profiler import get_profile_report, profile_function, profile_module
import sys as _sys

try:
import scitex_benchmark as _real
except ImportError as _e: # pragma: no cover
raise ImportError(
"scitex.benchmark requires the 'scitex-benchmark' package. "
"Install with: pip install scitex[benchmark] (or: pip install scitex-benchmark)"
) from _e

__all__ = [
# Benchmarking
"benchmark_function",
"benchmark_module",
"BenchmarkResult",
"BenchmarkSuite",
"run_all_benchmarks",
"compare_implementations",
# Profiling
"profile_function",
"profile_module",
"get_profile_report",
# Monitoring
"PerformanceMonitor",
"track_performance",
"get_performance_stats",
]
_sys.modules[__name__] = _real
47 changes: 0 additions & 47 deletions src/scitex/benchmark/_skills/SKILL.md

This file was deleted.

116 changes: 0 additions & 116 deletions src/scitex/benchmark/_skills/benchmarking.md

This file was deleted.

107 changes: 0 additions & 107 deletions src/scitex/benchmark/_skills/monitoring.md

This file was deleted.

Loading
Loading