Find Jobs
Hire Freelancers

Powershell and .NET specialist needed for optimizing programm

€30-250 EUR

Completed
Posted almost 9 years ago

€30-250 EUR

Paid on delivery
I need an absolute Powershell AND .NET crack for this project. This is about performance testing and optimizing (multithreaded) of an existing powershell script. If you don't have in-depth knowledge of Powershell AND .NET then please search for another project! Basically it's very simple (as usual ;-) ) I made a powershell script with a simple GUI (which can be also controlled by commandline arguments of course) which compares MD5 hash-checksums of two text files. One of this file is the output of FCIV. It contains a simple header, and then lines with the hash first followed by path and filename. The 2nd file is a CSV file. This also contains a MD5 hash, the filename and the path (but in different rows), and several more info which is not necessary here. What we need to check is: 1) Does every filename exist in both lists? Are there files missing in one list? 2) Does all files have the same checksum. 3) create a output csv with a status of each File. I.e. "OK" "not found in xxx" "wrong checksum..." ect. 4) I also need a summary in the end. x files checked. x files not found. x files checksums mismatch... stuff like that. I also wanted a progressbar so that i see that it didnt crashed :) Issues: A) The order of the files in the list could be different! so you cant compare row after row. It just takes too long. B) The Filelists could be HUGE! The Examples i made are only a couple of KB but in production these could be up to 1GB. C) Progressbar is not updated correctly. It seems like the one cpu thread for powershell is busy with the compare and has no cpu time left to update the progressbar. So the script i made basically works... It does all i said above. But it takes too long! I'm not *that* into powershell or .NET that i know of the performance differences in the different ways to load and compare strings. This is were i need help! Performance can be improved a lot by splitting the paths by directory/subdirectory in multiple n-arrays or objects. and then start multiple compare worker threads to load multiple cpu cores. (currently it only uses 1 core which wastes a lot of time) This needs to be fixed and i need someone to help. You find my script + two example files for comparison attached below! I'm 100% sure there will be follow up projects if i find a decent powershell professional!
Project ID: 7659583

About the project

9 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
If you choose me to fix your Problem then I can provide a first solution immediate (which is quick but not fully optimal) and, after the payment of the first Milestone is received, I will provide a different aproach (multithreaded) which will also show you how to use cancelation. Regarding your issues, I have the following answer: A) the order is not important. The Problem is with the algorithm used to match the 2 list of files. B) if the final solution is quick enough probably there is no Need of a multithreaded solution (one thread will still be needed for full UI optimization). C) Progress bar is not updated because your implementation does not dispatch Windows Messages. Und nicht zuletzt, ich kann alles in Deutsch erklären. My Skypeid ist: marian_pascalau oder per E-mail: marian_pascalau (at) [login to view URL]
€166 EUR in 1 day
5.0 (1 review)
0.0
0.0
9 freelancers are bidding on average €161 EUR for this job
User Avatar
A proposal has not yet been provided
€147 EUR in 3 days
4.8 (6 reviews)
3.5
3.5
User Avatar
Предложение еще не подано
€155 EUR in 3 days
5.0 (4 reviews)
3.0
3.0
User Avatar
Hi, We have good experience in C#.Net but not in Poweshell. We can do this project in windows form with more user friendly instead of Poweshell. If Poweshell is must i need one day only to learn (i checked your attached script it's simple). Thanks.
€200 EUR in 5 days
5.0 (1 review)
0.7
0.7
User Avatar
Предложение еще не подано
€155 EUR in 5 days
5.0 (1 review)
0.6
0.6
User Avatar
Hello. I reviewed your script and found some issues: 1. Performace can be increased by storing tree in memory (1GB isn't so much to store it in memory). And also I want to read the lists from multiple threads. 2. To update progrees bar you have to update it from the UI thread and do all other work in background threads. I can do the job in 1-2 days. Thanks. Regards Anton.
€200 EUR in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
The problem is not due to the use of CPU cores, but to the impossibility of using separate threads via a script. For the same reason the Powershell GUI is freezed and the progressbar is not updated. A script can be used for simple tasks, not for operations that consume resources and take a long time to complete. I can develop a desktop application that does all the work automatically, working asynchronously and in multithreading, detecting in advance the list of files and running at the end all the comparison operation. Remember for example that Windows operating system when executes the Move operation, first reads all the files to move and then performs the copy, paste and remove operations. For more information you can contact me on Freelancer's chat.
€150 EUR in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
After our chat I change the proposal. I have also change the price as there won't be any reimplementation. ---- previous version ---- I have seen your PS script and I think it would be more convenient to rewrite this project in C# (and I can do it for you from scratch). Actually you are using C# directly in the PS script. Code in C# will be more readable and easy-to-change in the future. But also mulithreading (or "multi jobing") in PS is a pain. Also starting a job in PS takes up to 10 seconds, it slow. I have experiences with multithreading from my previous job, but no reviews on freelancer as I am new to it. If you agree, I can make a simple demo for you (as specified in milestone 1), so that you can verify my skills.
€180 EUR in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
€100 EUR in 3 days
5.0 (3 reviews)
0.0
0.0

About the client

Flag of GERMANY
Gross-Gerau, Germany
5.0
35
Payment method verified
Member since Dec 15, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.