Skip to content

Blazzzeee/nm_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarks

Without render overhead

Done using hyperfine with 3 warmup runs and 100 tests , using hardcoded input

Python3

Mean [ms] | Min [ms] | Max [ms] | Relative |
191.5 ± 3.5 | 182.5 | 199.4 | 1.00 |

C

Mean [ms] | Min [ms] | Max [ms] | Relative |
| 11.3 ± 1.0 | 9.7 | 14.7 | 1.00 |

With Render Overhead

Done using inbuilt timing methods (c profiling for consistency)

Python3

Elapsed time: 1.219442 seconds

Python code used for profiling:

profiler = cProfile.Profile()
profiler.enable()

main()

profiler.disable()
end = time.time()
print("Main finished")

profiler.print_stats()
print(f"Elapsed time: {end - start:.6f} seconds")

Assets

python

C (With Render Overhead)

Elapsed time: 0.007561 seconds

int main() {
    clock_t start_time, end_time;

    start_time = clock();

    StartEventLoop();

    Terminate(global_ctx);

    end_time = clock();

    double elapsed_time = (double)(end_time - start_time) / CLOCKS_PER_SEC;

    printf("Elapsed time: %f seconds\n", elapsed_time);

    return 0;
}

Assets

c

About

The project is beta backend to network_manager_uiwritten in C , to achieve blazing fast speed and has overall better design philosophy as well as system design from the previous version , and avoids a lot of annoying bugs in the previous version

Installation

Install network_manager_ui as stated in the original repo, and use make after cloning this repo Dependencies :- make, Network_manager_ui, pkg-config, libnm(shipped with NetworkMangeer on arch) or use libnm-dev in debian /fedora

Usage

Move the nm binary to the your folder of your choice and run with

./nm

About

rewrite of network_manager_ui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published