-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix DiffFiles utility function #1374
Conversation
60075f7
to
b4fa0b2
Compare
f9dba4a
to
399be1e
Compare
@vadlakondaswetha apologies, this PR wasn't ready for review/merge yet. I created it as draft, but that seemed to stop the integration test label from working. So I had temporarily switched to 'ready to review' . I'll notify you once it's ready for review. |
@Tulsishah this PR has just the |
2c121bf
to
e7bd962
Compare
I can see it is working. I can also see perf-test label with this PR. do you face any other problem? |
Oh yeah, they hadn't shown up earlier.
No, I didn't add perf-test label, and I don't see it enabled either.
No, thanks @Tulsishah . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added couple of minor self-comments.
e7bd962
to
de4993b
Compare
bde5501
to
bfe60c6
Compare
479286b
to
38bb843
Compare
38bb843
to
9ff6104
Compare
1. It chunkifies DiffFiles utility function. This rationalizes the memory requirement of file-op of this utility. This utility earlier used to the read the complete files in memory, but now only a chunk is read and compared at a time. 2. Rename DiffFiles to AreFilesIdentical Renames file-op utility DiffFiles to AreFilesIdentical and changes it to return bool instead of int.
9ff6104
to
ce5e844
Compare
This rationalizes the memory requirement
of file-op utility DiffFiles. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.
It also changes the name (to AreFilesIdentical) and the return-type of the utility to boolean (true=identical, false=otherwise) .
Description
Link to the issue in case of a bug fix.
NA
Testing details