mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Remove unnecessary timing measurement in ApiContext:read function to streamline performance logging
This commit is contained in:
parent
a4042d3d97
commit
c0f5a01e17
2 changed files with 1 additions and 5 deletions
|
|
@ -216,7 +216,6 @@ function ApiContext:read(ids)
|
|||
end)
|
||||
:andThen(rejectFailedRequests)
|
||||
:andThen(function(response)
|
||||
local decodeClock = os.clock()
|
||||
Log.trace("[TIMING] ApiContext:read() msgpack decode starting")
|
||||
return Http.Response.msgpack(response)
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -564,10 +564,7 @@ pub fn git_add(repo_root: &Path, paths: &[PathBuf]) {
|
|||
Ok(m) => m,
|
||||
Err(_) => continue,
|
||||
};
|
||||
let stat = match gix::index::entry::Stat::from_fs(&gix_meta) {
|
||||
Ok(s) => s,
|
||||
Err(_) => gix::index::entry::Stat::default(),
|
||||
};
|
||||
let stat = gix::index::entry::Stat::from_fs(&gix_meta).unwrap_or_default();
|
||||
|
||||
if let Some(existing) = index
|
||||
.entry_mut_by_path_and_stage(bstr_path.as_ref(), gix::index::entry::Stage::Unconflicted)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue