Find Jobs
Hire Freelancers

Accelerate C code

$30-250 USD

Closed
Posted over 6 years ago

$30-250 USD

Paid on delivery
I want you to optimize the C code attached. If you want this project, and before I give it to you, and *before I pay* you, you will have to (1) download the file, (2) optimize it, only pure C allowed, no C++, keeping the name of the variable as close as possible to the original code and making sure the optimized code produces the same output (3) send me a chat message with what speedup you can achieve for inputs of different sizes and different levels of optimization (O1, O2, O3) (4) if I believe and like your speedup, I will then, and only then, pay you in full *After* I pay you, you will send me your code, a single file in pure C, no C++ If it does not meet the speedup claim you claimed in (3), then I will dispute the quality of your work and ask freelancer for a reimbursement.
Project ID: 15075564

About the project

22 proposals
Remote project
Active 6 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
22 freelancers are bidding on average $145 USD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$120 USD in 3 days
4.9 (155 reviews)
7.1
7.1
User Avatar
hi..i have already optimized the code and re written three versions of the code for three optimization level and getting fair results. Relevant Skills and Experience over 10 years of C/C++ programming. Proposed Milestones $70 USD - C Code Optimization When is your deadline?
$70 USD in 1 day
4.9 (206 reviews)
6.7
6.7
User Avatar
I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you Relevant Skills and Experience C Proposed Milestones $250 USD - m
$250 USD in 3 days
5.0 (52 reviews)
6.4
6.4
User Avatar
I read your post and checked your code carefully. No problem. Let's do. How much speedup you want? Relevant Skills and Experience C Programming, Code Optimazation Proposed Milestones $300 USD - completion
$120 USD in 1 day
5.0 (35 reviews)
6.1
6.1
User Avatar
Hello. I saw your description. This is opimization for c code. Relevant Skills and Experience Im exert in Data structure and Algorithm. I know well C . I'll do it in C. Im interested this task, Proposed Milestones $105 USD - milestone I want to wotk with u, I;ll wait your good reply. Thanks
$105 USD in 2 days
5.0 (101 reviews)
5.9
5.9
User Avatar
Hi, I've got quite some experience with C and I'm sure I can help you out with your program. May I get more details over the chat? Relevant Skills and Experience C, ASM Proposed Milestones $100 USD - Completion
$100 USD in 3 days
5.0 (69 reviews)
5.5
5.5
User Avatar
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. I can do this task as per your requirement Relevant Skills and Experience I have the 5 years of experience with excellent knowledge. please give me a chance to work on your project Proposed Milestones $180 USD - Once the project is complete
$180 USD in 2 days
5.0 (14 reviews)
4.6
4.6
User Avatar
Hi, I downloaded the file, and did some changes. Ran it with width = 1000000, and got from 1.28s to 0.65s (O1 and O2), and from 1.07s to 0.54s (O3), using cygwin's gcc running on a i7 processor. Relevant Skills and Experience More than 20 years programming with C Proposed Milestones $130 USD - Finish
$130 USD in 1 day
5.0 (22 reviews)
4.9
4.9
User Avatar
I played with the function S_TIV and foun dout that ~75% of execution time runs lines ##96 & 119 of the original file. After some modification I got reduced execution time 10%.From 5.2 to 4.6 sec Relevant Skills and Experience int width = 10000000; Intel CPU with VS C++ compiler(not g++ at the point) Execution time is O1 with random data I suspect it could be O3 or worth with some specific data Proposed Milestones $50 USD - Initial NOTE: I found that the func S_TIV writes out of array x bound. Bug?
$50 USD in 5 days
5.0 (18 reviews)
4.7
4.7
User Avatar
[EDIT2] I have also located and fixed the out of bounds error. Difference between outputs between your code and mine, which is 59% faster is in the -110dB range for 10000 samples, and -120dB for 1,000,000 samples.. [EDIT] I have now reduction in execution time of over 50% 30->12 ms. But cannot reach you, since offer postings are anonymous on Freelancer. Hi I have achieved repeated and verifiable reduction of 30% on my machine. 30 -> 20 ms, Relevant Skills and Experience Using VS2017, compiled as C... /O2. However there is also a bug in you program, since it fails on exit during one of the calls to free(). There could be more optimizations possible. but the gains would not be as dramatic. Maybe an additional 10-15% is possible, but that is a maybe. Note: Us bidders cannot sent PM messages to job posters directly. Please contact me for details. Proposed Milestones $222 USD - Includes finding and fixing the possible out of bounds error.
$222 USD in 3 days
5.0 (2 reviews)
4.0
4.0
User Avatar
Hi there, Hope you are doing great. We will make your your C programming work done within your given deadline. Thanks Relevant Skills and Experience Bundle of experiences we can share with you. Proposed Milestones $150 USD - 100% perfect work
$150 USD in 3 days
5.0 (5 reviews)
3.2
3.2
User Avatar
Optimize c program Relevant Skills and Experience Rich experience in data structure and algorithm optimization. I have downloaded the file and read it, however if you can describe the purpose of the calculation, it's very helpful for optimization Proposed Milestones $250 USD - After test and accepted
$250 USD in 3 days
5.0 (2 reviews)
3.0
3.0
User Avatar
Hello! It's not difficult for me. Please send me a message and discuss more detail. Thank you. Relevant Skills and Experience c pro Proposed Milestones $55 USD - finish
$55 USD in 1 day
5.0 (1 review)
1.7
1.7
User Avatar
Hi! Just i have read your description and downloaded source code. I think i can complete your job perfectly. Please contact me. Thanks Relevant Skills and Experience C Proposed Milestones $155 USD - Complete I hope to discuss one problem
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
c programming is my main coding. so i can meet your thought. i have seen your c code and i'm ready to optimize your c-code Relevant Skills and Experience 2years experience Proposed Milestones $200 USD - suitable price your expected resuly?
$200 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$222 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, for start I manage to get some 15% of speed for dismantling maxmin function and split code for dir=0 and dir=1. Relevant Skills and Experience 30 years of programming on various platforms (machine code over assembler and c, c++ ... etc). Specialization - AI optimization. Proposed Milestones $155 USD - After job is done It would be nice to know what S_TIV function calculates. Any known formula or your original?
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Sep 1, 2017

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.