mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
perf: don't store duplicate info for ops in the snapshot (#27430)
Mostly for changes from https://github.com/denoland/deno_core/pull/1010 --------- Co-authored-by: David Sherret <dsherret@gmail.com>
This commit is contained in:
parent
65b647909d
commit
c30f3450c6
8 changed files with 29 additions and 31 deletions
|
@ -198,7 +198,7 @@ pub struct CoverageReport {
|
|||
fn generate_coverage_report(
|
||||
script_coverage: &cdp::ScriptCoverage,
|
||||
script_source: String,
|
||||
maybe_source_map: &Option<Vec<u8>>,
|
||||
maybe_source_map: Option<&[u8]>,
|
||||
output: &Option<PathBuf>,
|
||||
) -> CoverageReport {
|
||||
let maybe_source_map = maybe_source_map
|
||||
|
@ -625,7 +625,7 @@ pub fn cover_files(
|
|||
let coverage_report = generate_coverage_report(
|
||||
&script_coverage,
|
||||
runtime_code.as_str().to_owned(),
|
||||
&source_map,
|
||||
source_map.as_deref(),
|
||||
&out_mode,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue