{"id":21184507,"url":"https://github.com/neeraj1240/javacodeperformanceanalyzer","last_synced_at":"2026-04-17T09:31:51.555Z","repository":{"id":263008368,"uuid":"887056954","full_name":"neeraj1240/JavaCodePerformanceAnalyzer","owner":"neeraj1240","description":"A Java desktop application for analyzing code performance metrics, including execution time, memory usage, space/time complexity, and visual graphs. Built with JavaFX, ideal for developers to optimize code performance.","archived":false,"fork":false,"pushed_at":"2025-01-05T05:40:29.000Z","size":852,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T14:47:34.645Z","etag":null,"topics":["algorithm-analysis","benchmarking","code-analysis","complexity-analysis","developer-tools","java","java-desktop-application","javafx","performance-analysis","performance-metrics"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neeraj1240.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T04:58:14.000Z","updated_at":"2025-01-05T05:40:32.000Z","dependencies_parsed_at":"2024-11-15T15:38:04.363Z","dependency_job_id":"f78f1d27-abeb-4a4b-9c35-daed763e7d3b","html_url":"https://github.com/neeraj1240/JavaCodePerformanceAnalyzer","commit_stats":null,"previous_names":["neeraj1240/javacodeperformanceanalyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FJavaCodePerformanceAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FJavaCodePerformanceAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FJavaCodePerformanceAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FJavaCodePerformanceAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neeraj1240","download_url":"https://codeload.github.com/neeraj1240/JavaCodePerformanceAnalyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243654400,"owners_count":20325893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-analysis","benchmarking","code-analysis","complexity-analysis","developer-tools","java","java-desktop-application","javafx","performance-analysis","performance-metrics"],"created_at":"2024-11-20T18:09:08.027Z","updated_at":"2025-10-25T19:02:11.572Z","avatar_url":"https://github.com/neeraj1240.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Code Performance Analyzer Tool\n\nA sophisticated desktop application that analyzes Java code performance metrics, including execution time and Memory usage. Features automated test data generation with customizable input sizes up to 100,000 elements, eliminating the need for manual test data creation.\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Main User Interface](#main-user-interface)\n- [Input Types](#input-types)\n  - [Single Input](#single-input)\n  - [Range Input](#range-input)\n  - [Manual Input](#manual-input)\n  - [Random Input](#random-input)\n  - [Hardcoded Input](#hardcoded-input)\n- [Graphs and Visualizations](#graphs-and-visualizations)\n  - [Execution Time Graph](#execution-time-graph)\n  - [Memory Usage Graph](#memory-usage-graph)\n  - [Combined Execution Time \u0026 Memory Usage Results](#combined-execution-time--memory-usage-results)\n- [Data Display](#data-display)\n  - [Input Data](#input-data)\n  - [Output Data](#output-data)\n- [User Manual](#user-manual)\n- [Installation](#installation)\n- [Usage](#usage)\n\n## Overview\n\nThe Java Code Performance Analyzer Tool uses Java and JavaFX to evaluate code efficiency. It generates performance graphs from various input types and displays key metrics such as execution time and memory usage.\n\n## Main User Interface\n\nThe main UI features:\n- **Code Input Panel:** Paste or write code to be analyzed.\n- **Input Options:** Select input type and adjust parameters.\n- **Results Panel:** View performance metrics including execution time, memory usage, time and space complexity.\n- **Graph Buttons:** Launch dedicated graph windows for further analysis.\n\n![Main UI](images/mainUI.png)\n\n## Input Types\n\nThe tool provides several input methods:\n\n![Input Types](images/inputType.png)\n\n### Single Input\nProvide a single dataset to test your program quickly.\n\n### Range Input\nSpecify a range with:\n- **Minimum Input Size**\n- **Maximum Input Size**\n- **Step Size**\n\n### Manual Input\nEnter custom test cases directly.\n\n### Random Input\nGenerate random test data automatically based on your configuration.\n\n### Hardcoded Input\nUses predefined test data embedded in the code for consistent benchmarking.\n\n## Graphs and Visualizations\n\nVisualizations help you interpret performance trends:\n\n### Execution Time Graph\nDisplays the program's execution time across different input sizes.\n\n![Execution Time Graph](images/executionGraph.png)\n\n### Memory Usage Graph\nVisualizes the memory usage trend.\n\n![Memory Usage Graph](images/memoryGraph.png)\n\n### Combined Execution Time \u0026 Memory Usage Results\nA summary view of execution time and memory usage.\n\n![Combined Results](images/executionTimeMemoryUsageResult.png)\n\n## Data Display\n\n### Input Data\nView the test data used for analysis in a dedicated window.\n\n![Input Data](images/inputData.png)\n\n### Output Data\nReview your program's output after analysis.\n\n![Output Data](images/outputData.png)\n\n## User Manual\n\nDetailed usage instructions and guidelines can be found in the integrated user manual. The manual explains:\n- Expected input format\n- Main method requirements\n- Performance analysis techniques\n- Best practices for accurate results\n\n![User Manual](images/userManual.png)\n\n## Installation\n\n1. **Clone the Repository:**\n\n   ```sh\n   git clone https://github.com/neeraj1240/JavaCodePerformanceAnalyzer.git\n   ```\n\n2. **Navigate to the Project Directory:**\n\n   ```sh\n   cd JavaCodePerformanceAnalyzer\n   ```\n\n3. **Build the Project:**\n\n   If using Maven (as indicated by the `pom.xml` file), run:\n\n   ```sh\n   mvn clean install\n   ```\n\n4. **Run the Application:**\n\n   If you are using the command line:\n\n   ```sh\n   java -cp target/your-artifact.jar main.ui.CodeAnalyzerUI\n   ```\n\n   Alternatively, you can run the application from within your IDE (e.g., Visual Studio Code).\n\n## Usage\n\n1. **Enter Code:**\n   - Use the left panel to type or paste your Java code.\n  \n2. **Select Input Type:**\n   - Choose from Single, Range, Manual, Random, or Hardcoded inputs.\n\n3. **Start Analysis:**\n   - Click \"Analyze\" to run the performance metrics.\n  \n4. **View Graphs and Results:**\n   - Use \"Show Time Graph\" and \"Show Memory Graph\" buttons to view detailed visualizations.\n   - Review the numeric results displayed alongside the graphs.\n\n5. **Use the User Manual:**\n   - Access the user manual directly from the UI for further guidance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeraj1240%2Fjavacodeperformanceanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneeraj1240%2Fjavacodeperformanceanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeraj1240%2Fjavacodeperformanceanalyzer/lists"}