GithubHelp home page GithubHelp logo

proxfield / proxfield.parallel Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 141 KB

Parallelize tasks across multiple threads asynchronously.

Home Page: https://www.nuget.org/packages/Proxfield.Parallel/

License: MIT License

C# 100.00%
parallel-programming parallelism

proxfield.parallel's Introduction

Parallelize tasks across multiple threads asynchronously.

GitHub License Actions Nuget GitHub branch checks state GitHub code size in bytes

Be aware: this library takes advantage of systems with multiple threads/cores, if your system only have one core the performance could be detrimental.

Packages

Packages and versions available at the Nuget Galery.

Package Version Downloads
Proxfield.Parallel Nuget version Nuget downloads

Nuget

PM> Install-Package Proxfield.Parallel

Visit out project at the Nuget Repository Page to know more.

How

await Parallelize.ParallelForEachAsync(myList, async (_) =>
{
    // DO STUFF HERE
},
DegreeOfParallelization.High);

Degree of parallelization:

public const int Low = 1;
public const int Medium = 10;
public const int High = 100;
  • DegreeOfParallelization.Low: utilizes a single thread;
  • Medium: utilizes up to 10 concurrent threads;
  • High: utilizes up to 100 concurrent threads.

Platform Support

Parallel is compiled for the following versions of frameworks:

  • DotNet 6
  • DotNet 5
  • DotNet Core 3.1

License

GitHub License

The MIT License (MIT) - Copyright (c) 2022-2023 Proxfield Consulting Group and its affiliates

proxfield.parallel's People

Contributors

marcoaslima avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.