Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
28 lines (25 loc) · 1.31 KB

File metadata and controls

28 lines (25 loc) · 1.31 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// RUN: %hermesc -emit-binary -out %t.1.hbc %s && %hermesc -emit-binary -out %t.2.hbc %s && %hbc-diff %t.1.hbc %t.2.hbc | %FileCheck --match-full-lines %s
print('Diff this!');
// CHECK-LABEL: Increase from {{.*}}.1.hbc to {{.*}}.2.hbc:
// CHECK-NEXT: Total: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Function headers: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Small string table: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Overflow string table: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: String storage: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Array buffer: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Object key buffer: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Object value buffer: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Regexp table: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Regexp storage: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: CommonJS module table: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: CommonJS module table (static): 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Function bodies: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Function info: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: Debug info: 0 B ({{.*}} -> {{.*}})
// CHECK-NEXT: 0 of 1 functions seem new. Largest new sizes:
Morty Proxy This is a proxified and sanitized view of the page, visit original site.