@@ -43,8 +43,10 @@ describe('extractDeclarations on .d.ts file', () => {
43
43
let testModuleDtsFile : string ;
44
44
let extractedDeclarations : MemberList ;
45
45
before ( ( ) => {
46
+ const start = Date . now ( ) ;
46
47
testModuleDtsFile = getTestModuleDtsFilePath ( ) ;
47
48
extractedDeclarations = extractDeclarations ( testModuleDtsFile ) ;
49
+ console . log ( 'extractDeclarations on .d.ts file took ' , Date . now ( ) - start ) ;
48
50
} ) ;
49
51
// export {tar as tarr, tar1 as tarr1} from '..'
50
52
it ( 'test export rename' , ( ) => {
@@ -198,12 +200,17 @@ describe('extractDeclarations on js bundle file', () => {
198
200
let subsetExportsBundleFile : string ;
199
201
let extractedDeclarations : MemberList ;
200
202
before ( ( ) => {
203
+ const start = Date . now ( ) ;
201
204
const testModuleDtsFile : string = getTestModuleDtsFilePath ( ) ;
202
205
const map : Map < string , string > = buildMap (
203
206
extractDeclarations ( testModuleDtsFile )
204
207
) ;
205
208
subsetExportsBundleFile = getSubsetExportsBundleFilePath ( ) ;
206
209
extractedDeclarations = extractDeclarations ( subsetExportsBundleFile , map ) ;
210
+ console . log (
211
+ 'extractDeclarations on js bundle file took ' ,
212
+ Date . now ( ) - start
213
+ ) ;
207
214
} ) ;
208
215
it ( 'test variable extractions' , ( ) => {
209
216
const variablesArray = [ 'aVar' , 'fs1' ] ;
0 commit comments