Skip to content

[Feature]:: Real-Time Algorithm Execution Statistics #688

@Laxmi928

Description

@Laxmi928

Problem or limitation

Problem Statement

While AlgoScope provides excellent visualizations of algorithm execution, users currently do not receive detailed numerical insights into the algorithm's behavior during runtime.

Displaying execution statistics alongside visualizations would help learners better understand algorithm efficiency and internal operations.

Proposed solution

Proposed Solution

Add a real-time statistics panel that updates as the algorithm executes.

Features
Total Comparisons
Total Swaps
Current Step Count
Elements Processed
Time Complexity
Space Complexity

Benefits
Enhances learning experience.
Helps users connect visual behavior with theoretical complexity.
Enables better comparison between algorithms.
Provides quantitative feedback alongside animations.

Alternatives considered

No response

Use case

A learner visualizing sorting or searching algorithms can track real-time metrics such as comparisons, swaps, and execution steps. This helps them correlate algorithm animations with theoretical complexity concepts and better understand why certain algorithms perform more efficiently than others

Additional context

References

VisuAlgo for educational algorithm visualization patterns.
Algorithm Visualizer for execution tracking and learning-focused UI.

Mockup

I will design a lightweight statistics panel positioned alongside the visualization canvas displaying real-time comparisons, swaps, step count, and complexity information. A Figma mockup will be attached before implementation for maintainer review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GSSoCOfficial issue for GSSoC contributors

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions